Index: content/renderer/gpu/render_widget_compositor.cc |
diff --git a/content/renderer/gpu/render_widget_compositor.cc b/content/renderer/gpu/render_widget_compositor.cc |
index f32fcbbc16fd1c2233428560aa21175b655c662d..57f0ca05b23ac92f22a2fd7bdd43c554f2601027 100644 |
--- a/content/renderer/gpu/render_widget_compositor.cc |
+++ b/content/renderer/gpu/render_widget_compositor.cc |
@@ -423,13 +423,11 @@ |
bool threaded) |
: threaded_(threaded), |
widget_(widget), |
- send_v8_idle_notification_after_commit_(true) { |
+ send_v8_idle_notification_after_commit_(false) { |
CommandLine* cmd = CommandLine::ForCurrentProcess(); |
- if (cmd->HasSwitch(switches::kEnableV8IdleNotificationAfterCommit)) |
+ if (cmd->HasSwitch(switches::kSendV8IdleNotificationAfterCommit)) |
send_v8_idle_notification_after_commit_ = true; |
- if (cmd->HasSwitch(switches::kDisableV8IdleNotificationAfterCommit)) |
- send_v8_idle_notification_after_commit_ = false; |
} |
RenderWidgetCompositor::~RenderWidgetCompositor() {} |