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

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

Issue 2537863003: Remove [ConstructorCallWith=ScriptState] from Sensor (Closed)
Patch Set: Created 4 years, 1 month 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/Sensor.h
diff --git a/third_party/WebKit/Source/modules/sensor/Sensor.h b/third_party/WebKit/Source/modules/sensor/Sensor.h
index 9c8936a00f3c947702e53d8b15a521ae4d4ecf36..98a4a96edd0a992805e0d73bb7f75716009db4fb 100644
--- a/third_party/WebKit/Source/modules/sensor/Sensor.h
+++ b/third_party/WebKit/Source/modules/sensor/Sensor.h
@@ -18,7 +18,7 @@
namespace blink {
class ExceptionState;
-class ScriptState;
+class ExecutionContext;
class SensorReading;
class SensorUpdateNotificationStrategy;
@@ -60,7 +60,7 @@ class Sensor : public EventTargetWithInlineData,
DECLARE_VIRTUAL_TRACE();
protected:
- Sensor(ScriptState*,
+ Sensor(ExecutionContext*,
const SensorOptions&,
ExceptionState&,
device::mojom::blink::SensorType);
« no previous file with comments | « third_party/WebKit/Source/modules/sensor/Magnetometer.idl ('k') | third_party/WebKit/Source/modules/sensor/Sensor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698