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

Unified Diff: cc/CCRenderSurface.h

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
Index: cc/CCRenderSurface.h
diff --git a/cc/CCRenderSurface.h b/cc/CCRenderSurface.h
index 4c82198888ce5d9524bf8699f90872b4755e5d9c..cbd90cb71082f606d379d7f4ee05b47e7bc81a7d 100644
--- a/cc/CCRenderSurface.h
+++ b/cc/CCRenderSurface.h
@@ -13,8 +13,8 @@
#include "FloatRect.h"
#include "IntRect.h"
#include <public/WebTransformationMatrix.h>
+#include <string>
#include <wtf/Noncopyable.h>
-#include <wtf/text/WTFString.h>
namespace WebCore {
@@ -22,7 +22,6 @@ class CCDamageTracker;
class CCQuadSink;
class CCRenderPassSink;
class CCLayerImpl;
-class TextStream;
struct CCAppendQuadsData;
@@ -32,8 +31,8 @@ public:
explicit CCRenderSurface(CCLayerImpl*);
virtual ~CCRenderSurface();
- String name() const;
- void dumpSurface(TextStream&, int indent) const;
+ std::string name() const;
+ void dumpSurface(std::string*, int indent) const;
FloatPoint contentRectCenter() const { return FloatRect(m_contentRect).center(); }

Powered by Google App Engine
This is Rietveld 408576698