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

Unified Diff: third_party/WebKit/Source/core/inspector/ProtocolParserTest.cpp

Issue 2490473004: [DevTools] Roll third_party/inspector_protocol to e23134c5aa6131e5a3a3afbefce255becce3a3bd. (Closed)
Patch Set: ui_devtools Created 4 years, 1 month 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: third_party/WebKit/Source/core/inspector/ProtocolParserTest.cpp
diff --git a/third_party/WebKit/Source/core/inspector/ProtocolParserTest.cpp b/third_party/WebKit/Source/core/inspector/ProtocolParserTest.cpp
index ee313460d33f3e665faabd0e088895adb9174007..e6d6e665d70fc2bce3cfb60988d8c33499798c04 100644
--- a/third_party/WebKit/Source/core/inspector/ProtocolParserTest.cpp
+++ b/third_party/WebKit/Source/core/inspector/ProtocolParserTest.cpp
@@ -8,11 +8,14 @@
namespace blink {
-using protocol::parseJSON;
using protocol::DictionaryValue;
using protocol::ListValue;
using protocol::Value;
+static std::unique_ptr<protocol::Value> parseJSON(const String& string) {
+ return protocol::StringUtil::parseJSON(string);
+}
+
TEST(ProtocolParserTest, Reading) {
Value* tmpValue;
std::unique_ptr<Value> root;

Powered by Google App Engine
This is Rietveld 408576698