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

Unified Diff: Source/web/WebGeolocationController.cpp

Issue 319863003: Enable Oilpan for modules/geolocation by default. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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/web/WebGeolocationController.cpp
diff --git a/Source/web/WebGeolocationController.cpp b/Source/web/WebGeolocationController.cpp
index 50b8a2264b4e05893fc07a215f81e300c117d553..b29ee379307a7e6d7f182473ab0d25a49087c7d6 100644
--- a/Source/web/WebGeolocationController.cpp
+++ b/Source/web/WebGeolocationController.cpp
@@ -32,21 +32,18 @@
#include "public/web/WebGeolocationError.h"
#include "public/web/WebGeolocationPosition.h"
-#include "wtf/PassRefPtr.h"
-#include "wtf/RefPtr.h"
-
using namespace WebCore;
namespace blink {
void WebGeolocationController::positionChanged(const WebGeolocationPosition& webPosition)
{
- m_private->positionChanged(PassRefPtrWillBeRawPtr<GeolocationPosition>(webPosition).get());
+ m_private->positionChanged(static_cast<GeolocationPosition*>(webPosition));
}
void WebGeolocationController::errorOccurred(const WebGeolocationError& webError)
{
- m_private->errorOccurred(PassRefPtrWillBeRawPtr<GeolocationError>(webError).get());
+ m_private->errorOccurred(static_cast<GeolocationError*>(webError));
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698