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

Unified Diff: Source/wtf/RefVector.h

Issue 975733002: Use Length for the stroke-dasharray property in SVGLayoutStyle (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add test for style-change responsive-ness. Created 5 years, 10 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/wtf/RefVector.h
diff --git a/Source/wtf/RefVector.h b/Source/wtf/RefVector.h
index d719b7a83542f446aa30e76783a8f0a3c7cb2fbe..0571fc7acf408c5a7f20a9bb001b018a932987a4 100644
--- a/Source/wtf/RefVector.h
+++ b/Source/wtf/RefVector.h
@@ -26,6 +26,7 @@ public:
bool operator!=(const RefVector& o) const { return m_vector != o.m_vector; }
size_t size() const { return m_vector.size(); }
+ bool isEmpty() const { return !size(); }
void append(const T& decoration) { m_vector.append(decoration); }
const Vector<T>& vector() const { return m_vector; }
« Source/core/layout/svg/SVGLayoutSupport.cpp ('K') | « Source/core/workers/Worker.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698