Title: [88454] trunk/Source/WebCore
Revision
88454
Author
[email protected]
Date
2011-06-09 08:52:13 -0700 (Thu, 09 Jun 2011)

Log Message

2011-06-09  Ben Murdoch  <[email protected]>

        Reviewed by Yury Semikhatsky.

        Build break in ScriptProfile.cpp and inspector disabled.
        https://bugs.webkit.org/show_bug.cgi?id=62373

        No new tests - build fix only.

        * bindings/v8/ScriptProfile.cpp: Add necessary guards.
        * bindings/v8/ScriptProfile.h: ditto.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (88453 => 88454)


--- trunk/Source/WebCore/ChangeLog	2011-06-09 15:19:09 UTC (rev 88453)
+++ trunk/Source/WebCore/ChangeLog	2011-06-09 15:52:13 UTC (rev 88454)
@@ -1,3 +1,15 @@
+2011-06-09  Ben Murdoch  <[email protected]>
+
+        Reviewed by Yury Semikhatsky.
+
+        Build break in ScriptProfile.cpp and inspector disabled.
+        https://bugs.webkit.org/show_bug.cgi?id=62373
+
+        No new tests - build fix only.
+
+        * bindings/v8/ScriptProfile.cpp: Add necessary guards.
+        * bindings/v8/ScriptProfile.h: ditto.
+
 2011-06-09  Vsevolod Vlasov  <[email protected]>
 
         Reviewed by Yury Semikhatsky.

Modified: trunk/Source/WebCore/bindings/v8/ScriptProfile.cpp (88453 => 88454)


--- trunk/Source/WebCore/bindings/v8/ScriptProfile.cpp	2011-06-09 15:19:09 UTC (rev 88453)
+++ trunk/Source/WebCore/bindings/v8/ScriptProfile.cpp	2011-06-09 15:52:13 UTC (rev 88454)
@@ -65,6 +65,7 @@
     return ScriptProfileNode::create(m_profile->GetBottomUpRoot());
 }
 
+#if ENABLE(INSPECTOR)
 static PassRefPtr<InspectorObject> buildInspectorObjectFor(const v8::CpuProfileNode* node)
 {
     v8::HandleScope handleScope;
@@ -97,5 +98,6 @@
 {
     return buildInspectorObjectFor(m_profile->GetBottomUpRoot());
 }
+#endif
 
 } // namespace WebCore

Modified: trunk/Source/WebCore/bindings/v8/ScriptProfile.h (88453 => 88454)


--- trunk/Source/WebCore/bindings/v8/ScriptProfile.h	2011-06-09 15:19:09 UTC (rev 88453)
+++ trunk/Source/WebCore/bindings/v8/ScriptProfile.h	2011-06-09 15:52:13 UTC (rev 88454)
@@ -40,7 +40,9 @@
 
 namespace WebCore {
 
+#if ENABLE(INSPECTOR)
 class InspectorObject;
+#endif
 
 class ScriptProfile : public RefCounted<ScriptProfile> {
 public:
@@ -55,8 +57,10 @@
     PassRefPtr<ScriptProfileNode> head() const;
     PassRefPtr<ScriptProfileNode> bottomUpHead() const;
 
+#if ENABLE(INSPECTOR)
     PassRefPtr<InspectorObject> buildInspectorObjectForHead() const;
     PassRefPtr<InspectorObject> buildInspectorObjectForBottomUpHead() const;
+#endif
 
 private:
     ScriptProfile(const v8::CpuProfile* profile)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to