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

Unified Diff: Source/core/html/canvas/CanvasRenderingContext2DState.cpp

Issue 1224443003: Copy line dashes when copying/assigning CanvasRenderingContext2DState (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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 | « Source/core/html/canvas/CanvasRenderingContext2DAPITest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/canvas/CanvasRenderingContext2DState.cpp
diff --git a/Source/core/html/canvas/CanvasRenderingContext2DState.cpp b/Source/core/html/canvas/CanvasRenderingContext2DState.cpp
index 0c4dc325ff6e7b90f57fc19c73272598d557eb24..806993c5dca72c991793987b5320690b9c16911d 100644
--- a/Source/core/html/canvas/CanvasRenderingContext2DState.cpp
+++ b/Source/core/html/canvas/CanvasRenderingContext2DState.cpp
@@ -80,6 +80,7 @@ CanvasRenderingContext2DState::CanvasRenderingContext2DState(const CanvasRenderi
, m_shadowAndForegroundImageFilter(other.m_shadowAndForegroundImageFilter)
, m_globalAlpha(other.m_globalAlpha)
, m_transform(other.m_transform)
+ , m_lineDash(other.m_lineDash)
, m_lineDashOffset(other.m_lineDashOffset)
, m_unparsedFont(other.m_unparsedFont)
, m_font(other.m_font)
@@ -132,6 +133,7 @@ CanvasRenderingContext2DState& CanvasRenderingContext2DState::operator=(const Ca
m_shadowAndForegroundImageFilter = other.m_shadowAndForegroundImageFilter;
m_globalAlpha = other.m_globalAlpha;
m_transform = other.m_transform;
+ m_lineDash = other.m_lineDash;
m_lineDashOffset = other.m_lineDashOffset;
m_unparsedFont = other.m_unparsedFont;
m_font = other.m_font;
« no previous file with comments | « Source/core/html/canvas/CanvasRenderingContext2DAPITest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698