Chromium Code Reviews| Index: third_party/WebKit/Source/platform/v8_inspector/V8DebuggerScript.cpp |
| diff --git a/third_party/WebKit/Source/platform/v8_inspector/V8DebuggerScript.cpp b/third_party/WebKit/Source/platform/v8_inspector/V8DebuggerScript.cpp |
| index 76e0c0066bfb891bdc8191652d5ece90a207042b..f2e38d7cbffa238c16b6943b88fdbf6ebe93c06b 100644 |
| --- a/third_party/WebKit/Source/platform/v8_inspector/V8DebuggerScript.cpp |
| +++ b/third_party/WebKit/Source/platform/v8_inspector/V8DebuggerScript.cpp |
| @@ -4,7 +4,8 @@ |
| #include "platform/v8_inspector/V8DebuggerScript.h" |
| -#include "platform/v8_inspector/V8StringUtil.h" |
| +#include "platform/v8_inspector/ProtocolPlatform.h" |
| +#include "platform/v8_inspector/StringUtil.h" |
| namespace v8_inspector { |
| @@ -31,7 +32,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 = PROTOCOL_ARRAY_LENGTH(hashes); |
| + const size_t hashesSize = V8_INSPECTOR_ARRAY_LENGTH(hashes); |
|
caseq
2016/08/26 19:17:20
nit: I'd get rid of these in favor of std::end(has
dgozman
2016/08/26 21:31:27
We can do that in a follow up.
|
| size_t current = 0; |
| const uint32_t* data = nullptr; |