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

Unified Diff: gin/shell_runner.h

Issue 1112923003: Replace Handle<> with Local in remaining gin/* (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 | « gin/runner.h ('k') | gin/shell_runner.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gin/shell_runner.h
diff --git a/gin/shell_runner.h b/gin/shell_runner.h
index 9a5b4ef421d7cf369fafaa4f3b9c54d41216b93d..e150feacda3a433ed5c8b81b3a9203686a79110e 100644
--- a/gin/shell_runner.h
+++ b/gin/shell_runner.h
@@ -22,7 +22,7 @@ class GIN_EXPORT ShellRunnerDelegate {
virtual ~ShellRunnerDelegate();
// Returns the template for the global object.
- virtual v8::Handle<v8::ObjectTemplate> GetGlobalTemplate(
+ virtual v8::Local<v8::ObjectTemplate> GetGlobalTemplate(
ShellRunner* runner,
v8::Isolate* isolate);
virtual void DidCreateContext(ShellRunner* runner);
@@ -45,16 +45,16 @@ class GIN_EXPORT ShellRunner : public Runner {
// Runner overrides:
void Run(const std::string& source,
const std::string& resource_name) override;
- v8::Handle<v8::Value> Call(v8::Handle<v8::Function> function,
- v8::Handle<v8::Value> receiver,
+ v8::Local<v8::Value> Call(v8::Local<v8::Function> function,
+ v8::Local<v8::Value> receiver,
int argc,
- v8::Handle<v8::Value> argv[]) override;
+ v8::Local<v8::Value> argv[]) override;
ContextHolder* GetContextHolder() override;
private:
friend class Scope;
- void Run(v8::Handle<v8::Script> script);
+ void Run(v8::Local<v8::Script> script);
ShellRunnerDelegate* delegate_;
« no previous file with comments | « gin/runner.h ('k') | gin/shell_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698