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

Side by Side Diff: third_party/WebKit/Source/bindings/core/v8/DocumentWriteEvaluator.cpp

Issue 1893983002: Simplify handling of Transferable objects while (de)serializing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove Transferable.cpp, not needed after all. Created 4 years, 8 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 #include "bindings/core/v8/DocumentWriteEvaluator.h" 5 #include "bindings/core/v8/DocumentWriteEvaluator.h"
6 6
7 #include "bindings/core/v8/ScriptSourceCode.h" 7 #include "bindings/core/v8/ScriptSourceCode.h"
8 #include "bindings/core/v8/V8BindingMacros.h" 8 #include "bindings/core/v8/V8BindingMacros.h"
9 #include "bindings/core/v8/V8ScriptRunner.h" 9 #include "bindings/core/v8/V8ScriptRunner.h"
10 #include "core/frame/Location.h"
10 #include "core/html/parser/HTMLParserThread.h" 11 #include "core/html/parser/HTMLParserThread.h"
11 #include "platform/TraceEvent.h" 12 #include "platform/TraceEvent.h"
12 #include "wtf/text/StringUTF8Adaptor.h" 13 #include "wtf/text/StringUTF8Adaptor.h"
13 14
14 #include <v8.h> 15 #include <v8.h>
15 16
16 namespace blink { 17 namespace blink {
17 18
18 namespace { 19 namespace {
19 20
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 evaluate(scriptSource); 149 evaluate(scriptSource);
149 return m_documentWrittenStrings.toString(); 150 return m_documentWrittenStrings.toString();
150 } 151 }
151 152
152 void DocumentWriteEvaluator::recordDocumentWrite(const String& documentWrittenSt ring) 153 void DocumentWriteEvaluator::recordDocumentWrite(const String& documentWrittenSt ring)
153 { 154 {
154 m_documentWrittenStrings.append(documentWrittenString); 155 m_documentWrittenStrings.append(documentWrittenString);
155 } 156 }
156 157
157 } // namespace blink 158 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698