2011-02-08 Ilya Tikhonovsky <loislo@chromium.org>
authorloislo@chromium.org <loislo@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 8 Feb 2011 18:01:00 +0000 (18:01 +0000)
committerloislo@chromium.org <loislo@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 8 Feb 2011 18:01:00 +0000 (18:01 +0000)
        Unreviewed build fix for Qt-minimal.

        * inspector/InspectorInstrumentation.h:
        (WebCore::InspectorInstrumentation::hasFrontend):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@77951 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/inspector/InspectorInstrumentation.h

index bb306fe2c05e7198543107ae2345fa632e0700a3..cdd58def511b835e7674e1f37ab4e1c02959d799 100644 (file)
@@ -1,3 +1,10 @@
+2011-02-08  Ilya Tikhonovsky  <loislo@chromium.org>
+
+        Unreviewed build fix for Qt-minimal.
+
+        * inspector/InspectorInstrumentation.h:
+        (WebCore::InspectorInstrumentation::hasFrontend):
+
 2011-02-02  Ilya Tikhonovsky  <loislo@chromium.org>
 
         Reviewed by Yury Semikhatsky.
index 1e382ca1c2e08fd7d3e514c58c29352357ba37be..576d1f552cc39e81dccac44e637e94b1ff5de38b 100644 (file)
@@ -836,14 +836,12 @@ inline void InspectorInstrumentation::updateApplicationCacheStatus(Frame* frame)
 }
 #endif
 
+#if ENABLE(INSPECTOR)
 inline bool InspectorInstrumentation::hasFrontend(Page* page)
 {
-#if ENABLE(INSPECTOR)
     return inspectorAgentWithFrontendForPage(page);
-#else
-    return false;
-#endif
 }
+#endif
 
 
 #if ENABLE(INSPECTOR)