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

Unified Diff: third_party/WebKit/Source/web/WebPluginContainerImpl.cpp

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
Index: third_party/WebKit/Source/web/WebPluginContainerImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp b/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp
index a5d888312c6df672dba730629e08af417544457c..5e87b583accd9afb7fde8d304bb15d1407e07105 100644
--- a/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp
+++ b/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp
@@ -203,7 +203,7 @@ void WebPluginContainerImpl::handleEvent(Event* event)
if (!m_webPlugin->acceptsInputEvents())
return;
- RefPtrWillBeRawPtr<WebPluginContainerImpl> protector(this);
+ RawPtr<WebPluginContainerImpl> protector(this);
// The events we pass are defined at:
// http://devedge-temp.mozilla.org/library/manuals/2002/plugin/1.0/structures5.html#1000000
// Don't take the documentation as truth, however. There are many cases
@@ -402,7 +402,7 @@ WebElement WebPluginContainerImpl::element()
void WebPluginContainerImpl::dispatchProgressEvent(const WebString& type, bool lengthComputable, unsigned long long loaded, unsigned long long total, const WebString& url)
{
- RefPtrWillBeRawPtr<ProgressEvent> event;
+ RawPtr<ProgressEvent> event;
if (url.isEmpty()) {
event = ProgressEvent::create(type, lengthComputable, loaded, total);
} else {
@@ -642,7 +642,7 @@ v8::Local<v8::Object> WebPluginContainerImpl::scriptableObject(v8::Isolate* isol
// v8ScriptableObject below. crbug.com/458776. Hold a reference to the
// plugin container to prevent this from happening. For Oilpan, 'this'
// is already stack reachable, so redundant.
- RefPtrWillBeRawPtr<WebPluginContainerImpl> protector(this);
+ RawPtr<WebPluginContainerImpl> protector(this);
v8::Local<v8::Object> object = m_webPlugin->v8ScriptableObject(isolate);
« no previous file with comments | « third_party/WebKit/Source/web/WebPluginContainerImpl.h ('k') | third_party/WebKit/Source/web/WebPluginDocument.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698