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

Unified Diff: extensions/renderer/dispatcher.h

Issue 1115563002: extensions/renderer: Use v8::Local instead of v8::Handle. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 | « extensions/renderer/console.cc ('k') | extensions/renderer/dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/renderer/dispatcher.h
diff --git a/extensions/renderer/dispatcher.h b/extensions/renderer/dispatcher.h
index 6b7172259401098d8f2fbdc641871a6087d20ff9..5ec0c6cb473aeb1d6170098479f1d7126b1a5b1a 100644
--- a/extensions/renderer/dispatcher.h
+++ b/extensions/renderer/dispatcher.h
@@ -91,12 +91,12 @@ class Dispatcher : public content::RenderProcessObserver,
bool IsExtensionActive(const std::string& extension_id) const;
void DidCreateScriptContext(blink::WebLocalFrame* frame,
- const v8::Handle<v8::Context>& context,
+ const v8::Local<v8::Context>& context,
int extension_group,
int world_id);
void WillReleaseScriptContext(blink::WebLocalFrame* frame,
- const v8::Handle<v8::Context>& context,
+ const v8::Local<v8::Context>& context,
int world_id);
void DidCreateDocumentElement(blink::WebFrame* frame);
@@ -231,11 +231,11 @@ class Dispatcher : public content::RenderProcessObserver,
// Gets |field| from |object| or creates it as an empty object if it doesn't
// exist.
- v8::Handle<v8::Object> GetOrCreateObject(const v8::Handle<v8::Object>& object,
- const std::string& field,
- v8::Isolate* isolate);
+ v8::Local<v8::Object> GetOrCreateObject(const v8::Local<v8::Object>& object,
+ const std::string& field,
+ v8::Isolate* isolate);
- v8::Handle<v8::Object> GetOrCreateBindObjectIfAvailable(
+ v8::Local<v8::Object> GetOrCreateBindObjectIfAvailable(
const std::string& api_name,
std::string* bind_name,
ScriptContext* context);
« no previous file with comments | « extensions/renderer/console.cc ('k') | extensions/renderer/dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698