From ef2cfb55eeea4751057906cdfb20e5b7ffa74282 Mon Sep 17 00:00:00 2001 From: "ulan@chromium.org" Date: Fri, 23 Mar 2012 13:52:15 +0000 Subject: [PATCH] Fix compile error introduced by r11122. R=jkummerow@chromium.org Review URL: https://chromiumcodereview.appspot.com/9838054 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11123 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/d8.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/d8.cc b/src/d8.cc index 6add635..45781cf 100644 --- a/src/d8.cc +++ b/src/d8.cc @@ -1436,11 +1436,13 @@ int Shell::RunMain(int argc, char* argv[]) { } if (!options.last_run) { context.Dispose(); +#if !defined(V8_SHARED) if (i::FLAG_send_idle_notification) { const int kLongIdlePauseInMs = 1000; V8::ContextDisposedNotification(); V8::IdleNotification(kLongIdlePauseInMs); } +#endif // !V8_SHARED } #ifndef V8_SHARED -- 2.7.4