Attempt to fix the Windows build after r195799
authorryanhaddad@apple.com <ryanhaddad@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 29 Jan 2016 19:13:17 +0000 (19:13 +0000)
committerryanhaddad@apple.com <ryanhaddad@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 29 Jan 2016 19:13:17 +0000 (19:13 +0000)
Unreviewed build fix.

* WebInspector.cpp:
(WebInspector::isJavaScriptProfilingEnabled):
(WebInspector::setJavaScriptProfilingEnabled):

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

Source/WebKit/win/ChangeLog
Source/WebKit/win/WebInspector.cpp

index 48f8ff2..acca6d4 100644 (file)
@@ -1,3 +1,13 @@
+2016-01-29  Ryan Haddad  <ryanhaddad@apple.com>
+
+        Attempt to fix the Windows build after r195799
+
+        Unreviewed build fix.
+
+        * WebInspector.cpp:
+        (WebInspector::isJavaScriptProfilingEnabled):
+        (WebInspector::setJavaScriptProfilingEnabled):
+
 2016-01-28  Darin Adler  <darin@apple.com>
 
         Remove equalIgnoringCase since all callers really wanted equalIgnoringASCIICase
index f44cc46..91a78b3 100644 (file)
@@ -216,7 +216,7 @@ HRESULT WebInspector::isJavaScriptProfilingEnabled(_Out_ BOOL* isProfilingEnable
     if (!inspectedPage)
         return S_OK;
 
-    *isProfilingEnabled = inspectedPage->inspectorController().profilerEnabled();
+    *isProfilingEnabled = inspectedPage->inspectorController().legacyProfilerEnabled();
     return S_OK;
 }
 
@@ -229,7 +229,7 @@ HRESULT WebInspector::setJavaScriptProfilingEnabled(BOOL enabled)
     if (!inspectedPage)
         return S_OK;
 
-    inspectedPage->inspectorController().setProfilerEnabled(enabled);
+    inspectedPage->inspectorController().setLegacyProfilerEnabled(enabled);
 
     return S_OK;
 }