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

Unified Diff: Source/bindings/modules/dart/custom/DartDeviceOrientationEventCustom.cpp

Issue 817913005: Track some changes to reference types (mostly Blink types moving to Oilpan). (Closed) Base URL: svn://svn.chromium.org/blink/branches/dart/dartium
Patch Set: Created 5 years, 11 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: Source/bindings/modules/dart/custom/DartDeviceOrientationEventCustom.cpp
diff --git a/Source/bindings/modules/dart/custom/DartDeviceOrientationEventCustom.cpp b/Source/bindings/modules/dart/custom/DartDeviceOrientationEventCustom.cpp
index 6ece62415b58d0578ce6c8153e098b500ca479ea..fec2e9c4a933edcf32d5d846e87e15e4bd7f344e 100644
--- a/Source/bindings/modules/dart/custom/DartDeviceOrientationEventCustom.cpp
+++ b/Source/bindings/modules/dart/custom/DartDeviceOrientationEventCustom.cpp
@@ -76,8 +76,8 @@ void initDeviceOrientationEventCallback(Dart_NativeArguments args)
goto fail;
bool absoluteProvided = true;
- RefPtr<DeviceOrientationData> orientation = DeviceOrientationData::create(alphaProvided, alpha, betaProvided, beta, gammaProvided, gamma, absoluteProvided, absolute);
- receiver->initDeviceOrientationEvent(type, bubbles, cancelable, orientation.get());
+ DeviceOrientationData* orientation = DeviceOrientationData::create(alphaProvided, alpha, betaProvided, beta, gammaProvided, gamma, absoluteProvided, absolute);
+ receiver->initDeviceOrientationEvent(type, bubbles, cancelable, orientation);
return;
}

Powered by Google App Engine
This is Rietveld 408576698