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

Unified Diff: src/inspector/V8FunctionCall.cpp

Issue 2332163002: [inspector] fixed all shorten-64-to-32 warnings (Closed)
Patch Set: Created 4 years, 3 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: src/inspector/V8FunctionCall.cpp
diff --git a/src/inspector/V8FunctionCall.cpp b/src/inspector/V8FunctionCall.cpp
index d8ffffa02cda056edb16d7dfb0e16d0603de3960..4f572d08bab027dd6c6eb4cdd5af6826b29c124d 100644
--- a/src/inspector/V8FunctionCall.cpp
+++ b/src/inspector/V8FunctionCall.cpp
@@ -96,8 +96,8 @@ v8::Local<v8::Value> V8FunctionCall::callWithoutExceptionHandling() {
}
v8::MicrotasksScope microtasksScope(m_context->GetIsolate(),
v8::MicrotasksScope::kDoNotRunMicrotasks);
- v8::MaybeLocal<v8::Value> maybeResult =
- function->Call(m_context, thisObject, m_arguments.size(), info.get());
+ v8::MaybeLocal<v8::Value> maybeResult = function->Call(
+ m_context, thisObject, static_cast<int>(m_arguments.size()), info.get());
if (contextGroupId) {
m_inspector->client()->unmuteMetrics(contextGroupId);
m_inspector->unmuteExceptions(contextGroupId);

Powered by Google App Engine
This is Rietveld 408576698