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

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, 10 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 60ba3f89516e87dd4a373ae2d4e0fff5987e8b2b..355fa6351986673298e4e9a571fa4e3c4f66f564 100644
--- a/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp
+++ b/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp
@@ -190,7 +190,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
@@ -389,7 +389,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 {
@@ -621,7 +621,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);

Powered by Google App Engine
This is Rietveld 408576698