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

Unified Diff: test/inspector/task-runner.cc

Issue 2773723002: [inspector] fixed compilation with gyp (Closed)
Patch Set: Created 3 years, 9 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
« no previous file with comments | « src/inspector/v8-debugger-agent-impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/inspector/task-runner.cc
diff --git a/test/inspector/task-runner.cc b/test/inspector/task-runner.cc
index a92f2d0aadcf7cdb047314028c07cde47560fc48..577ab306c72d5654b32fa0ffbcb00f03455c53de 100644
--- a/test/inspector/task-runner.cc
+++ b/test/inspector/task-runner.cc
@@ -78,9 +78,10 @@ v8::Local<v8::Context> TaskRunner::GetContext(int context_group_id) {
}
int TaskRunner::GetContextGroupId(v8::Local<v8::Context> context) {
- return reinterpret_cast<intptr_t>(
- context->GetAlignedPointerFromEmbedderData(kContextGroupIdIndex)) /
- 2;
+ return static_cast<int>(
+ reinterpret_cast<intptr_t>(
+ context->GetAlignedPointerFromEmbedderData(kContextGroupIdIndex)) /
+ 2);
}
void TaskRunner::Run() {
« no previous file with comments | « src/inspector/v8-debugger-agent-impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698