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

Unified Diff: third_party/WebKit/Source/modules/navigatorconnect/ServicePortCollection.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/modules/navigatorconnect/ServicePortCollection.cpp
diff --git a/third_party/WebKit/Source/modules/navigatorconnect/ServicePortCollection.cpp b/third_party/WebKit/Source/modules/navigatorconnect/ServicePortCollection.cpp
index 6b80be9ffb7d7a93409fca8b7eb0d37dcefd6430..9ebb2c13ad3c6430e4e314d701f7a23fe6c8f7fc 100644
--- a/third_party/WebKit/Source/modules/navigatorconnect/ServicePortCollection.cpp
+++ b/third_party/WebKit/Source/modules/navigatorconnect/ServicePortCollection.cpp
@@ -142,7 +142,7 @@ void ServicePortCollection::postMessage(WebServicePortID portId, const WebString
RefPtr<SerializedScriptValue> message = SerializedScriptValueFactory::instance().createFromWire(messageString);
MessagePortArray* ports = MessagePort::entanglePorts(*getExecutionContext(), channels.release());
- RefPtrWillBeRawPtr<Event> evt = MessageEvent::create(ports, message.release());
+ RawPtr<Event> evt = MessageEvent::create(ports, message.release());
// TODO(mek): Lookup ServicePort and set events source attribute.
dispatchEvent(evt.release());
}
@@ -153,7 +153,7 @@ void ServicePortCollection::dispatchConnectEvent(PassOwnPtr<WebServicePortConnec
ServicePortConnectEventInit init;
init.setTargetURL(targetURL.string());
init.setOrigin(origin);
- RefPtrWillBeRawPtr<Event> event = ServicePortConnectEvent::create(EventTypeNames::connect, init, observer);
+ RawPtr<Event> event = ServicePortConnectEvent::create(EventTypeNames::connect, init, observer);
dispatchEvent(event.release());
observer->didDispatchEvent();
}

Powered by Google App Engine
This is Rietveld 408576698