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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/ScrollPaintPropertyNode.cpp

Issue 2664253003: Fix redundant code warning reported by VC++ /analyze (Closed)
Patch Set: Created 3 years, 11 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 | « 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/ScrollPaintPropertyNode.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/paint/ScrollPaintPropertyNode.cpp b/third_party/WebKit/Source/platform/graphics/paint/ScrollPaintPropertyNode.cpp
index 24afc52f450b7877f176d682243572737d5a6e8f..fe6018697e9bb21a3b10346fef1dfc6e78cf654c 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/ScrollPaintPropertyNode.cpp
+++ b/third_party/WebKit/Source/platform/graphics/paint/ScrollPaintPropertyNode.cpp
@@ -27,7 +27,7 @@ String ScrollPaintPropertyNode::toString() const {
text.append(" userScrollable=");
if (m_userScrollableHorizontal && m_userScrollableVertical)
text.append("both");
- else if (!m_userScrollableHorizontal && !m_userScrollableHorizontal)
+ else if (!m_userScrollableHorizontal && !m_userScrollableVertical)
text.append("none");
else
text.append(m_userScrollableHorizontal ? "horizontal" : "vertical");
« 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