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

Unified Diff: third_party/WebKit/Source/modules/sensor/SensorProviderProxy.cpp

Issue 2668173003: [Sensors] Remove SensorReading interfaces (Closed)
Patch Set: updated global-interface-listing.html Created 3 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: third_party/WebKit/Source/modules/sensor/SensorProviderProxy.cpp
diff --git a/third_party/WebKit/Source/modules/sensor/SensorProviderProxy.cpp b/third_party/WebKit/Source/modules/sensor/SensorProviderProxy.cpp
index 24cab8b3e74c8f4c24c8747fa6fb93686d403faa..45e61e7d48d0a63fe10a75f691d8e9783a8e1316 100644
--- a/third_party/WebKit/Source/modules/sensor/SensorProviderProxy.cpp
+++ b/third_party/WebKit/Source/modules/sensor/SensorProviderProxy.cpp
@@ -5,7 +5,6 @@
#include "modules/sensor/SensorProviderProxy.h"
#include "modules/sensor/SensorProxy.h"
-#include "modules/sensor/SensorReading.h"
#include "platform/mojo/MojoHelper.h"
#include "public/platform/InterfaceProvider.h"
#include "public/platform/Platform.h"
@@ -53,12 +52,10 @@ DEFINE_TRACE(SensorProviderProxy) {
SensorProxy* SensorProviderProxy::createSensorProxy(
device::mojom::blink::SensorType type,
- Page* page,
- std::unique_ptr<SensorReadingFactory> readingFactory) {
+ Page* page) {
DCHECK(!getSensorProxy(type));
- SensorProxy* sensor =
- new SensorProxy(type, this, page, std::move(readingFactory));
+ SensorProxy* sensor = new SensorProxy(type, this, page);
m_sensorProxies.insert(sensor);
return sensor;
« no previous file with comments | « third_party/WebKit/Source/modules/sensor/SensorProviderProxy.h ('k') | third_party/WebKit/Source/modules/sensor/SensorProxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698