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

Unified Diff: content/renderer/pepper/resource_converter.cc

Issue 1113783002: Use Local instead of Handle in src/content/* (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 | « content/renderer/pepper/resource_converter.h ('k') | content/renderer/pepper/v8_var_converter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/pepper/resource_converter.cc
diff --git a/content/renderer/pepper/resource_converter.cc b/content/renderer/pepper/resource_converter.cc
index 2af3bba3e7799d5864281bc05397c88e052477e3..c4d4cf047e7866b82fb0aeb5a5dd8140cd774f92 100644
--- a/content/renderer/pepper/resource_converter.cc
+++ b/content/renderer/pepper/resource_converter.cc
@@ -122,8 +122,8 @@ bool DOMFileSystemToResource(
bool ResourceHostToDOMFileSystem(
content::PepperFileSystemHost* file_system_host,
- v8::Handle<v8::Context> context,
- v8::Handle<v8::Value>* dom_file_system) {
+ v8::Local<v8::Context> context,
+ v8::Local<v8::Value>* dom_file_system) {
GURL root_url = file_system_host->GetRootUrl();
GURL origin;
storage::FileSystemType type;
@@ -148,8 +148,8 @@ bool ResourceHostToDOMFileSystem(
bool ResourceHostToDOMMediaStreamVideoTrack(
content::PepperMediaStreamVideoTrackHost* host,
- v8::Handle<v8::Context> context,
- v8::Handle<v8::Value>* dom_video_track) {
+ v8::Local<v8::Context> context,
+ v8::Local<v8::Value>* dom_video_track) {
// TODO(ronghuawu): Implement this once crbug/352219 is resolved.
// blink::WebMediaStreamTrack track = host->track();
// *dom_video_track = track.toV8Value();
@@ -206,8 +206,8 @@ ResourceConverterImpl::~ResourceConverterImpl() {
DCHECK(browser_vars_.empty());
}
-bool ResourceConverterImpl::FromV8Value(v8::Handle<v8::Object> val,
- v8::Handle<v8::Context> context,
+bool ResourceConverterImpl::FromV8Value(v8::Local<v8::Object> val,
+ v8::Local<v8::Context> context,
PP_Var* result,
bool* was_resource) {
v8::Context::Scope context_scope(context);
@@ -285,8 +285,8 @@ void ResourceConverterImpl::Flush(const base::Callback<void(bool)>& callback) {
}
bool ResourceConverterImpl::ToV8Value(const PP_Var& var,
- v8::Handle<v8::Context> context,
- v8::Handle<v8::Value>* result) {
+ v8::Local<v8::Context> context,
+ v8::Local<v8::Value>* result) {
DCHECK(var.type == PP_VARTYPE_RESOURCE);
ResourceVar* resource = ResourceVar::FromPPVar(var);
« no previous file with comments | « content/renderer/pepper/resource_converter.h ('k') | content/renderer/pepper/v8_var_converter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698