|
|
Backporting JSONValues from protocol::Values
This commit back-ports the changes made in the inspector's JSON value class into Blink's JSONValue, and updates existing uses of JSONValue to use the new API.
Significant changes:
- JSONValue (and subclasses) are held in std::unique_ptrs, rather than being refcounted.
- JSON objects distinguish between Integers and Doubles
This commit does not remove the various JSONArray::push* methods, as they are used extensively as convenience methods, and are consistent with the JSONObject::set* methods.
BUG= 634921
Committed: https://crrev.com/cc67aa8cfc7dd5672a05d85db883946d55c7a05a
Cr-Commit-Position: refs/heads/master@{#410066}
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+484 lines, -433 lines) |
Patch |
 |
M |
third_party/WebKit/Source/bindings/core/v8/JSONValuesForV8.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/core/v8/JSONValuesForV8.cpp
|
View
|
|
3 chunks |
+9 lines, -9 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/frame/FrameView.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/frame/FrameView.cpp
|
View
|
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/frame/LocalFrame.cpp
|
View
|
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.cpp
|
View
|
|
2 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/html/parser/XSSAuditorDelegate.cpp
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/crypto/SubtleCrypto.cpp
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/filesystem/DevToolsHostFileSystem.cpp
|
View
|
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/nfc/NFC.cpp
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/payments/PaymentRequest.cpp
|
View
|
1
2
3
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/JSONValues.h
|
View
|
1
2
3
4
|
4 chunks |
+87 lines, -87 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/JSONValues.cpp
|
View
|
1
2
3
|
19 chunks |
+154 lines, -105 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/graphics/GraphicsLayer.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
|
View
|
|
8 chunks |
+63 lines, -63 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/graphics/LoggingCanvas.h
|
View
|
1
2
|
2 chunks |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/graphics/LoggingCanvas.cpp
|
View
|
1
2
|
34 chunks |
+131 lines, -132 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/graphics/PictureSnapshot.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/graphics/PictureSnapshot.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 30 (25 generated)
|