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

Side by Side Diff: src/inspector/JavaScriptCallFrame.cpp

Issue 2359533002: [inspector] replaced V8_INSPECTOR* macros with macros from base/macros.h (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 unified diff | Download patch
« no previous file with comments | « src/inspector/JavaScriptCallFrame.h ('k') | src/inspector/StringUtil.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2010, Google Inc. All rights reserved. 2 * Copyright (c) 2010, Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 v8::Local<v8::Object>::New(m_isolate, m_callFrame); 148 v8::Local<v8::Object>::New(m_isolate, m_callFrame);
149 v8::Local<v8::Function> setVariableValueFunction = 149 v8::Local<v8::Function> setVariableValueFunction =
150 v8::Local<v8::Function>::Cast( 150 v8::Local<v8::Function>::Cast(
151 callFrame 151 callFrame
152 ->Get(context, 152 ->Get(context,
153 toV8StringInternalized(m_isolate, "setVariableValue")) 153 toV8StringInternalized(m_isolate, "setVariableValue"))
154 .ToLocalChecked()); 154 .ToLocalChecked());
155 v8::Local<v8::Value> argv[] = { 155 v8::Local<v8::Value> argv[] = {
156 v8::Local<v8::Value>(v8::Integer::New(m_isolate, scopeNumber)), 156 v8::Local<v8::Value>(v8::Integer::New(m_isolate, scopeNumber)),
157 variableName, newValue}; 157 variableName, newValue};
158 return setVariableValueFunction->Call(context, callFrame, 158 return setVariableValueFunction->Call(context, callFrame, arraysize(argv),
159 V8_INSPECTOR_ARRAY_LENGTH(argv), argv); 159 argv);
160 } 160 }
161 161
162 } // namespace v8_inspector 162 } // namespace v8_inspector
OLDNEW
« no previous file with comments | « src/inspector/JavaScriptCallFrame.h ('k') | src/inspector/StringUtil.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698