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

Unified Diff: components/dom_distiller/content/renderer/distiller_native_javascript.cc

Issue 1305863012: Fix windows compile error (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@js-mojo-combine
Patch Set: Created 5 years, 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/dom_distiller/content/renderer/distiller_native_javascript.cc
diff --git a/components/dom_distiller/content/renderer/distiller_native_javascript.cc b/components/dom_distiller/content/renderer/distiller_native_javascript.cc
index 767dac67ef3d11ccc1a3803702463641308bd8b4..47a5bb8edcd1e5502a6ef256f8f513b446f91245 100644
--- a/components/dom_distiller/content/renderer/distiller_native_javascript.cc
+++ b/components/dom_distiller/content/renderer/distiller_native_javascript.cc
@@ -70,7 +70,7 @@ v8::Local<v8::Object> GetOrCreateDistillerObject(v8::Isolate* isolate,
distiller_obj = v8::Object::New(isolate);
global->Set(gin::StringToSymbol(isolate, "distiller"), distiller_obj);
} else {
- distiller_obj = v8::Local<v8::Object>::Cast(distiller_value);
+ distiller_obj = distiller_value.As<v8::Object>();
}
return distiller_obj;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698