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

Unified Diff: cc/CCVideoLayerImpl.cpp

Issue 10900021: Use std::string instead of WTF::String / TextStream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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
« no previous file with comments | « cc/CCVideoLayerImpl.h ('k') | cc/LayerChromium.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/CCVideoLayerImpl.cpp
diff --git a/cc/CCVideoLayerImpl.cpp b/cc/CCVideoLayerImpl.cpp
index b83cb88da19ef4a90d3d216d4aa9cbbcc278dd2f..8b0bcd4ace3237b7eb7a3860f0c8312109cd8dde 100644
--- a/cc/CCVideoLayerImpl.cpp
+++ b/cc/CCVideoLayerImpl.cpp
@@ -19,9 +19,7 @@
#include "Extensions3DChromium.h"
#include "GraphicsContext3D.h"
#include "NotImplemented.h"
-#include "TextStream.h"
#include <public/WebVideoFrame.h>
-#include <wtf/text/WTFString.h>
namespace WebCore {
@@ -376,11 +374,11 @@ void CCVideoLayerImpl::setNeedsRedraw()
layerTreeHostImpl()->setNeedsRedraw();
}
-void CCVideoLayerImpl::dumpLayerProperties(TextStream& ts, int indent) const
+void CCVideoLayerImpl::dumpLayerProperties(std::string* str, int indent) const
{
- writeIndent(ts, indent);
- ts << "video layer\n";
- CCLayerImpl::dumpLayerProperties(ts, indent);
+ str->append(indentString(indent));
+ str->append("video layer\n");
+ CCLayerImpl::dumpLayerProperties(str, indent);
}
}
« no previous file with comments | « cc/CCVideoLayerImpl.h ('k') | cc/LayerChromium.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698