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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/CullRect.h

Issue 2496573003: Add CullRect::toString (Closed)
Patch Set: Created 4 years, 1 month 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/graphics/paint/CullRect.h
diff --git a/third_party/WebKit/Source/platform/graphics/paint/CullRect.h b/third_party/WebKit/Source/platform/graphics/paint/CullRect.h
index 2acc7881ef29ff421ec69bf2117963412795dceb..20ca2ad43f16c4fdd0d91fa15d48ee2d3ce17d92 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/CullRect.h
+++ b/third_party/WebKit/Source/platform/graphics/paint/CullRect.h
@@ -10,6 +10,7 @@
#include "wtf/Allocator.h"
#include "wtf/HashMap.h"
#include "wtf/ListHashSet.h"
+#include "wtf/text/WTFString.h"
#include <limits>
@@ -35,6 +36,8 @@ class PLATFORM_EXPORT CullRect {
bool intersectsHorizontalRange(LayoutUnit lo, LayoutUnit hi) const;
bool intersectsVerticalRange(LayoutUnit lo, LayoutUnit hi) const;
+ String toString() const { return m_rect.toString(); }
+
private:
IntRect m_rect;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698