[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc

commit-queue at webkit.org commit-queue at webkit.org
Wed Dec 22 13:06:45 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit 6fb1d39a421f1953d0fc5221d4eff9a609200b5b
Author: commit-queue at webkit.org <commit-queue at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Tue Sep 7 08:51:13 2010 +0000

    2010-09-07  Kwang Yul Seo  <skyul at company100.net>
    
            Reviewed by Kent Tamura.
    
            Add ENABLE(INSPECTOR) guard in InspectorController::inspectorControllerForNode
            https://bugs.webkit.org/show_bug.cgi?id=45272
    
            Build fix.
    
            * inspector/InspectorController.h:
            (WebCore::InspectorController::inspectorControllerForNode):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66869 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index d9b2e58..5459b59 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,15 @@
+2010-09-07  Kwang Yul Seo  <skyul at company100.net>
+
+        Reviewed by Kent Tamura.
+
+        Add ENABLE(INSPECTOR) guard in InspectorController::inspectorControllerForNode
+        https://bugs.webkit.org/show_bug.cgi?id=45272
+
+        Build fix.
+
+        * inspector/InspectorController.h:
+        (WebCore::InspectorController::inspectorControllerForNode):
+
 2010-09-07  Joerg Bornemann  <joerg.bornemann at nokia.com>
 
         Reviewed by Ariya Hidayat.
diff --git a/WebCore/inspector/InspectorController.h b/WebCore/inspector/InspectorController.h
index 2368a1e..40099c6 100644
--- a/WebCore/inspector/InspectorController.h
+++ b/WebCore/inspector/InspectorController.h
@@ -433,12 +433,15 @@ inline void InspectorController::didModifyDOMAttr(Element* element)
 
 inline InspectorController* InspectorController::inspectorControllerForNode(Node* node)
 {
+#if ENABLE(INSPECTOR)
     if (Page* page = node->document()->page()) {
         if (InspectorController* inspectorController = page->inspectorController()) {
             if (inspectorController->hasFrontend())
                 return inspectorController;
         }
     }
+#endif
+
     return 0;
 }
 

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list