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

Side by Side Diff: third_party/WebKit/Source/bindings/core/v8/V8HiddenValue.h

Issue 1539803002: [Fetch API] Fix a memory leak with a Response constructed with a ReadableStream (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@response-constructed-with-stream
Patch Set: Created 4 years, 10 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 | « no previous file | third_party/WebKit/Source/modules/fetch/ReadableStreamDataConsumerHandle.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 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8HiddenValue_h 5 #ifndef V8HiddenValue_h
6 #define V8HiddenValue_h 6 #define V8HiddenValue_h
7 7
8 #include "bindings/core/v8/ScopedPersistent.h" 8 #include "bindings/core/v8/ScopedPersistent.h"
9 #include "bindings/core/v8/ScriptPromiseProperties.h" 9 #include "bindings/core/v8/ScriptPromiseProperties.h"
10 #include "core/CoreExport.h" 10 #include "core/CoreExport.h"
(...skipping 21 matching lines...) Expand all
32 V(callback) \ 32 V(callback) \
33 V(condition) \ 33 V(condition) \
34 V(data) \ 34 V(data) \
35 V(detail) \ 35 V(detail) \
36 V(document) \ 36 V(document) \
37 V(error) \ 37 V(error) \
38 V(event) \ 38 V(event) \
39 V(idbCursorRequest) \ 39 V(idbCursorRequest) \
40 V(port1) \ 40 V(port1) \
41 V(port2) \ 41 V(port2) \
42 V(readableStreamReaderInResponse) \
42 V(state) \ 43 V(state) \
43 V(stringData) \ 44 V(stringData) \
44 V(testInterfaces) \ 45 V(testInterfaces) \
45 V(thenableHiddenPromise) \ 46 V(thenableHiddenPromise) \
46 V(toStringString) \ 47 V(toStringString) \
47 V(injectedScriptNative) \ 48 V(injectedScriptNative) \
48 SCRIPT_PROMISE_PROPERTIES(V, Promise) \ 49 SCRIPT_PROMISE_PROPERTIES(V, Promise) \
49 SCRIPT_PROMISE_PROPERTIES(V, Resolver) 50 SCRIPT_PROMISE_PROPERTIES(V, Resolver)
50 51
51 class CORE_EXPORT V8HiddenValue { 52 class CORE_EXPORT V8HiddenValue {
(...skipping 15 matching lines...) Expand all
67 V8HiddenValue() { } 68 V8HiddenValue() { }
68 69
69 #define V8_DECLARE_FIELD(name) ScopedPersistent<v8::String> m_##name; 70 #define V8_DECLARE_FIELD(name) ScopedPersistent<v8::String> m_##name;
70 V8_HIDDEN_VALUES(V8_DECLARE_FIELD); 71 V8_HIDDEN_VALUES(V8_DECLARE_FIELD);
71 #undef V8_DECLARE_FIELD 72 #undef V8_DECLARE_FIELD
72 }; 73 };
73 74
74 } // namespace blink 75 } // namespace blink
75 76
76 #endif // V8HiddenValue_h 77 #endif // V8HiddenValue_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/fetch/ReadableStreamDataConsumerHandle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698