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

Unified Diff: third_party/WebKit/Source/core/inspector/ThreadDebugger.cpp

Issue 2687943004: Abstract out ThreadDebugger from V8PerIsolateData (Closed)
Patch Set: Fix style, add comment Created 3 years, 10 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/core/inspector/ThreadDebugger.cpp
diff --git a/third_party/WebKit/Source/core/inspector/ThreadDebugger.cpp b/third_party/WebKit/Source/core/inspector/ThreadDebugger.cpp
index ca16ea3c4f2a80127cd367e9496cc52905867d26..2d0396548f24e9e6b883c8b439c56d06d8f5955e 100644
--- a/third_party/WebKit/Source/core/inspector/ThreadDebugger.cpp
+++ b/third_party/WebKit/Source/core/inspector/ThreadDebugger.cpp
@@ -41,7 +41,7 @@ ThreadDebugger* ThreadDebugger::from(v8::Isolate* isolate) {
if (!isolate)
return nullptr;
V8PerIsolateData* data = V8PerIsolateData::from(isolate);
- return data ? data->threadDebugger() : nullptr;
+ return data ? static_cast<ThreadDebugger*>(data->threadDebugger()) : nullptr;
}
// static

Powered by Google App Engine
This is Rietveld 408576698