void LayoutTestController::setJavaScriptProfilingEnabled(bool enabled) { if (enabled) setDeveloperExtrasEnabled(enabled); DumpRenderTreeSupportEfl::setJavaScriptProfilingEnabled(browser->mainView(), enabled); }
void LayoutTestController::setJavaScriptProfilingEnabled(bool flag) { WebKitWebView* view = webkit_web_frame_get_web_view(mainFrame); ASSERT(view); setDeveloperExtrasEnabled(flag); WebKitWebInspector* inspector = webkit_web_view_get_inspector(view); g_object_set(G_OBJECT(inspector), "javascript-profiling-enabled", flag, NULL); }
void LayoutTestController::setJavaScriptProfilingEnabled(bool enable) { setDeveloperExtrasEnabled(enable); DumpRenderTreeSupportQt::setJavaScriptProfilingEnabled(m_topLoadingFrame, enable); }