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

Unified Diff: src/inspector/V8DebuggerScript.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/inspector/V8DebuggerScript.h ('k') | src/inspector/V8HeapProfilerAgentImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/inspector/V8DebuggerScript.cpp
diff --git a/src/inspector/V8DebuggerScript.cpp b/src/inspector/V8DebuggerScript.cpp
index cc6f8c82fdc88e9336efe532805b1082685f28e2..49f2e7dea263831fb975ba86223f508860e6f3c9 100644
--- a/src/inspector/V8DebuggerScript.cpp
+++ b/src/inspector/V8DebuggerScript.cpp
@@ -34,7 +34,7 @@ static String16 calculateHash(const String16& str) {
uint64_t hashes[] = {0, 0, 0, 0, 0};
uint64_t zi[] = {1, 1, 1, 1, 1};
- const size_t hashesSize = V8_INSPECTOR_ARRAY_LENGTH(hashes);
+ const size_t hashesSize = arraysize(hashes);
size_t current = 0;
const uint32_t* data = nullptr;
« no previous file with comments | « src/inspector/V8DebuggerScript.h ('k') | src/inspector/V8HeapProfilerAgentImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698