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

Unified Diff: third_party/WebKit/Source/core/style/BorderData.h

Issue 2345543002: debugging for crbug.com/646539
Patch Set: 3 TUs, 2 .h Created 4 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 | « third_party/WebKit/Source/core/style/BUILD.gn ('k') | third_party/WebKit/Source/core/style/CachedUAStyle.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/style/BorderData.h
diff --git a/third_party/WebKit/Source/core/style/BorderData.h b/third_party/WebKit/Source/core/style/BorderData.h
index ab17716a91adc06a8f14a72d34f786596468abae..f4890fdfbc9cd3d32b4978f781c1353dbf6f6ae1 100644
--- a/third_party/WebKit/Source/core/style/BorderData.h
+++ b/third_party/WebKit/Source/core/style/BorderData.h
@@ -51,7 +51,7 @@ public:
bool hasBorderFill() const
{
- return m_image.hasImage() && m_image.fill();
+ return false;
}
bool hasBorderRadius() const
@@ -97,7 +97,7 @@ public:
bool operator==(const BorderData& o) const
{
- return m_left == o.m_left && m_right == o.m_right && m_top == o.m_top && m_bottom == o.m_bottom && m_image == o.m_image
+ return m_left == o.m_left && m_right == o.m_right && m_top == o.m_top && m_bottom == o.m_bottom
&& m_topLeft == o.m_topLeft && m_topRight == o.m_topRight && m_bottomLeft == o.m_bottomLeft && m_bottomRight == o.m_bottomRight;
}
@@ -107,7 +107,6 @@ public:
&& m_right.visuallyEqual(o.m_right)
&& m_top.visuallyEqual(o.m_top)
&& m_bottom.visuallyEqual(o.m_bottom)
- && m_image == o.m_image
&& m_topLeft == o.m_topLeft
&& m_topRight == o.m_topRight
&& m_bottomLeft == o.m_bottomLeft
@@ -116,7 +115,7 @@ public:
bool visualOverflowEqual(const BorderData& o) const
{
- return m_image.outset() == o.m_image.outset();
+ return false;
}
bool operator!=(const BorderData& o) const
@@ -137,7 +136,7 @@ public:
const BorderValue& top() const { return m_top; }
const BorderValue& bottom() const { return m_bottom; }
- const NinePieceImage& image() const { return m_image; }
+ //const NinePieceImage& image() const { return m_image; }
const LengthSize& topLeft() const { return m_topLeft; }
const LengthSize& topRight() const { return m_topRight; }
@@ -150,7 +149,7 @@ private:
BorderValue m_top;
BorderValue m_bottom;
- NinePieceImage m_image;
+ //NinePieceImage m_image;
LengthSize m_topLeft;
LengthSize m_topRight;
« no previous file with comments | « third_party/WebKit/Source/core/style/BUILD.gn ('k') | third_party/WebKit/Source/core/style/CachedUAStyle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698