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

Unified Diff: Source/web/WebPluginContainerImpl.cpp

Issue 1112813002: Make use of v8::Local alias in Source/web* (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.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 | « Source/web/WebDevToolsFrontendImpl.cpp ('k') | Source/web/tests/WebFrameTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebPluginContainerImpl.cpp
diff --git a/Source/web/WebPluginContainerImpl.cpp b/Source/web/WebPluginContainerImpl.cpp
index 55e2802ecbbcb085f8b1adc129d7654ae5a40937..7ce51dbd62ec72fb8598d7cb20f025c1bf544c54 100644
--- a/Source/web/WebPluginContainerImpl.cpp
+++ b/Source/web/WebPluginContainerImpl.cpp
@@ -462,10 +462,10 @@ v8::Local<v8::Object> WebPluginContainerImpl::v8ObjectForElement()
if (!scriptState->contextIsValid())
return v8::Local<v8::Object>();
- v8::Handle<v8::Value> v8value = toV8(m_element.get(), scriptState->context()->Global(), scriptState->isolate());
+ v8::Local<v8::Value> v8value = toV8(m_element.get(), scriptState->context()->Global(), scriptState->isolate());
ASSERT(v8value->IsObject());
- return v8::Handle<v8::Object>::Cast(v8value);
+ return v8::Local<v8::Object>::Cast(v8value);
}
WebString WebPluginContainerImpl::executeScriptURL(const WebURL& url, bool popupsAllowed)
@@ -487,7 +487,7 @@ WebString WebPluginContainerImpl::executeScriptURL(const WebURL& url, bool popup
// Failure is reported as a null string.
if (result.IsEmpty() || !result->IsString())
return WebString();
- return toCoreString(v8::Handle<v8::String>::Cast(result));
+ return toCoreString(v8::Local<v8::String>::Cast(result));
}
void WebPluginContainerImpl::loadFrameRequest(const WebURLRequest& request, const WebString& target, bool notifyNeeded, void* notifyData)
« no previous file with comments | « Source/web/WebDevToolsFrontendImpl.cpp ('k') | Source/web/tests/WebFrameTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698