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

Unified Diff: third_party/WebKit/Source/modules/payments/PaymentRequest.cpp

Issue 1864243004: Remove RawPtr from Source/modules Part 2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
Index: third_party/WebKit/Source/modules/payments/PaymentRequest.cpp
diff --git a/third_party/WebKit/Source/modules/payments/PaymentRequest.cpp b/third_party/WebKit/Source/modules/payments/PaymentRequest.cpp
index b69172abecbece10bd8898535c21a88f15900245..710a2ad84957636b977ed6bb94692e41a11f381f 100644
--- a/third_party/WebKit/Source/modules/payments/PaymentRequest.cpp
+++ b/third_party/WebKit/Source/modules/payments/PaymentRequest.cpp
@@ -318,7 +318,7 @@ void PaymentRequest::OnShippingAddressChange(mojom::wtf::ShippingAddressPtr addr
}
m_shippingAddress = new ShippingAddress(std::move(address));
- RawPtr<Event> event = Event::create(EventTypeNames::shippingaddresschange);
+ Event* event = Event::create(EventTypeNames::shippingaddresschange);
event->setTarget(this);
getExecutionContext()->getEventQueue()->enqueueEvent(event);
}
@@ -328,7 +328,7 @@ void PaymentRequest::OnShippingOptionChange(const String& shippingOptionId)
DCHECK(m_showResolver);
DCHECK(!m_completeResolver);
m_shippingOption = shippingOptionId;
- RawPtr<Event> event = Event::create(EventTypeNames::shippingoptionchange);
+ Event* event = Event::create(EventTypeNames::shippingoptionchange);
event->setTarget(this);
getExecutionContext()->getEventQueue()->enqueueEvent(event);
}

Powered by Google App Engine
This is Rietveld 408576698