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

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

Issue 2577053002: ActiveScriptWrappable: GC wrappers in detached ExecutionContexts. (Closed)
Patch Set: enable TraceWrappables for testing purposes 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/Sensor.cpp
diff --git a/third_party/WebKit/Source/modules/sensor/Sensor.cpp b/third_party/WebKit/Source/modules/sensor/Sensor.cpp
index d617472e497c613704a35f8395e23f5def62b549..6c3ecc113b0d9808d4f9b4e197c446d1a978b5bf 100644
--- a/third_party/WebKit/Source/modules/sensor/Sensor.cpp
+++ b/third_party/WebKit/Source/modules/sensor/Sensor.cpp
@@ -22,7 +22,7 @@ Sensor::Sensor(ExecutionContext* executionContext,
const SensorOptions& sensorOptions,
ExceptionState& exceptionState,
SensorType type)
- : ActiveScriptWrappable(this),
+ : ActiveScriptWrappable<Sensor>(this),
ContextLifecycleObserver(executionContext),
m_sensorOptions(sensorOptions),
m_type(type),

Powered by Google App Engine
This is Rietveld 408576698