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

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

Issue 2551223003: [Sensors] Align sensor reading updates and 'onchange' notification with rAF. (Closed)
Patch Set: rebased Created 4 years 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.h
diff --git a/third_party/WebKit/Source/modules/sensor/SensorProviderProxy.h b/third_party/WebKit/Source/modules/sensor/SensorProviderProxy.h
index e9c770150757e30dc3a9077aaa27b01bb2b210d5..6cb2293ab3f05dde258899c9704a5b79a0c13bb7 100644
--- a/third_party/WebKit/Source/modules/sensor/SensorProviderProxy.h
+++ b/third_party/WebKit/Source/modules/sensor/SensorProviderProxy.h
@@ -13,7 +13,7 @@
namespace blink {
-class Page;
+class Document;
class SensorProxy;
class SensorReadingFactory;
@@ -31,7 +31,7 @@ class SensorProviderProxy final
~SensorProviderProxy();
SensorProxy* createSensorProxy(device::mojom::blink::SensorType,
- Page*,
+ Document*,
std::unique_ptr<SensorReadingFactory>);
SensorProxy* getSensorProxy(device::mojom::blink::SensorType);

Powered by Google App Engine
This is Rietveld 408576698