Title: [110202] trunk/Source/WebCore
Revision
110202
Author
[email protected]
Date
2012-03-08 14:00:19 -0800 (Thu, 08 Mar 2012)

Log Message

Prospective build fix for Qt minimal after r110191

https://bugs.webkit.org/show_bug.cgi?id=80338

* testing/Internals.cpp:
(WebCore):
* testing/Internals.h:
(Internals):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (110201 => 110202)


--- trunk/Source/WebCore/ChangeLog	2012-03-08 22:00:00 UTC (rev 110201)
+++ trunk/Source/WebCore/ChangeLog	2012-03-08 22:00:19 UTC (rev 110202)
@@ -1,5 +1,16 @@
 2012-03-08  Tor Arne Vestbø  <[email protected]>
 
+        Prospective build fix for Qt minimal after r110191
+
+        https://bugs.webkit.org/show_bug.cgi?id=80338
+
+        * testing/Internals.cpp:
+        (WebCore):
+        * testing/Internals.h:
+        (Internals):
+
+2012-03-08  Tor Arne Vestbø  <[email protected]>
+
         [Qt] Prospective Windows build fix
 
         Don't assume that windows-builds will always run inside a cmd.exe shell.

Modified: trunk/Source/WebCore/testing/Internals.cpp (110201 => 110202)


--- trunk/Source/WebCore/testing/Internals.cpp	2012-03-08 22:00:00 UTC (rev 110201)
+++ trunk/Source/WebCore/testing/Internals.cpp	2012-03-08 22:00:19 UTC (rev 110202)
@@ -337,6 +337,7 @@
     return ClientRect::create(renderer->absoluteBoundingBoxRectIgnoringTransforms());
 }
 
+#if ENABLE(INSPECTOR)
 PassRefPtr<ClientRectList> Internals::inspectorHighlightRects(Document* document, ExceptionCode& ec)
 {
     if (!document || !document->page() || !document->page()->inspectorController()) {
@@ -348,6 +349,7 @@
     document->page()->inspectorController()->getHighlight(&highlight);
     return ClientRectList::create(highlight.quads);
 }
+#endif
 
 unsigned Internals::markerCountForNode(Node* node, const String& markerType, ExceptionCode& ec)
 {

Modified: trunk/Source/WebCore/testing/Internals.h (110201 => 110202)


--- trunk/Source/WebCore/testing/Internals.h	2012-03-08 22:00:00 UTC (rev 110201)
+++ trunk/Source/WebCore/testing/Internals.h	2012-03-08 22:00:19 UTC (rev 110202)
@@ -89,7 +89,9 @@
 
     PassRefPtr<ClientRect> boundingBox(Element*, ExceptionCode&);
 
+#if ENABLE(INSPECTOR)
     PassRefPtr<ClientRectList> inspectorHighlightRects(Document*, ExceptionCode&);
+#endif
 
     unsigned markerCountForNode(Node*, const String&, ExceptionCode&);
     PassRefPtr<Range> markerRangeForNode(Node*, const String& markerType, unsigned index, ExceptionCode&);
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to