Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Unified Diff: mojo/apps/js/bindings/waiting_callback.cc

Issue 179803007: Refactors parts of gin: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix gin_shell Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/apps/js/bindings/gl/context.cc ('k') | mojo/apps/js/main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/apps/js/bindings/waiting_callback.cc
diff --git a/mojo/apps/js/bindings/waiting_callback.cc b/mojo/apps/js/bindings/waiting_callback.cc
index 87c28bf3ba7c895261d7312b0364f6c0ef59df84..923431630d3a2f38eae85c942a8f770442f34655 100644
--- a/mojo/apps/js/bindings/waiting_callback.cc
+++ b/mojo/apps/js/bindings/waiting_callback.cc
@@ -48,7 +48,7 @@ void WaitingCallback::OnHandleReady(MojoResult result) {
return;
gin::Runner::Scope scope(runner_.get());
- v8::Isolate* isolate = runner_->isolate();
+ v8::Isolate* isolate = runner_->GetContextHolder()->isolate();
v8::Handle<v8::Value> hidden_value =
GetWrapper(isolate)->GetHiddenValue(GetHiddenPropertyName(isolate));
« no previous file with comments | « mojo/apps/js/bindings/gl/context.cc ('k') | mojo/apps/js/main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698