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

Unified Diff: Source/WebKit/chromium/src/WebHelperPluginImpl.cpp

Issue 17640007: Refactoring: Simplify DocumentWriter by reorganizing its lifetime. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed a build breakage Created 7 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: Source/WebKit/chromium/src/WebHelperPluginImpl.cpp
diff --git a/Source/WebKit/chromium/src/WebHelperPluginImpl.cpp b/Source/WebKit/chromium/src/WebHelperPluginImpl.cpp
index bb20ab572a07b9ccfd55a5d15243eb4727c6e89b..8eb199a2f217940b34ee946f31471aa3ab43ff6f 100644
--- a/Source/WebKit/chromium/src/WebHelperPluginImpl.cpp
+++ b/Source/WebKit/chromium/src/WebHelperPluginImpl.cpp
@@ -73,7 +73,7 @@ static void writeDocument(const String& pluginType, const WebDocument& hostDocum
addString(objectTag, writer);
addLiteral("</body>\n", writer);
- writer->end();
+ loader->endWriting(writer);
}
class HelperPluginChromeClient : public EmptyChromeClient {
« no previous file with comments | « no previous file | Source/WebKit/chromium/src/WebPagePopupImpl.cpp » ('j') | Source/core/loader/DocumentLoader.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698