Guest User

Untitled

a guest
Jan 22nd, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.17 KB | None | 0 0
  1. diff --git a/Source/WebCore/html/canvas/CanvasRenderingContext2D.cpp b/Source/WebCore/html/canvas/CanvasRenderingContext2D.cpp
  2. index 39924d9..b1afb55 100644
  3. --- a/Source/WebCore/html/canvas/CanvasRenderingContext2D.cpp
  4. +++ b/Source/WebCore/html/canvas/CanvasRenderingContext2D.cpp
  5. @@ -208,28 +208,27 @@ CanvasRenderingContext2D::State::State()
  6.  
  7. CanvasRenderingContext2D::State::State(const State& other)
  8. : FontSelectorClient()
  9. + , m_unparsedStrokeColor(other.m_unparsedStrokeColor)
  10. + , m_unparsedFillColor(other.m_unparsedFillColor)
  11. + , m_strokeStyle(other.m_strokeStyle)
  12. + , m_fillStyle(other.m_fillStyle)
  13. + , m_lineWidth(other.m_lineWidth)
  14. + , m_lineCap(other.m_lineCap)
  15. + , m_lineJoin(other.m_lineJoin)
  16. + , m_miterLimit(other.m_miterLimit)
  17. + , m_shadowOffset(other.m_shadowOffset)
  18. + , m_shadowBlur(other.m_shadowBlur)
  19. + , m_shadowColor(other.m_shadowColor)
  20. + , m_globalAlpha(other.m_globalAlpha)
  21. + , m_globalComposite(other.m_globalComposite)
  22. + , m_transform(other.m_transform)
  23. + , m_invertibleCTM(other.m_invertibleCTM)
  24. + , m_textAlign(other.m_textAlign)
  25. + , m_textBaseline(other.m_textBaseline)
  26. + , m_unparsedFont(other.m_unparsedFont)
  27. + , m_font(other.m_font)
  28. + , m_realizedFont(other.m_realizedFont)
  29. {
  30. - m_unparsedStrokeColor = other.m_unparsedStrokeColor;
  31. - m_unparsedFillColor = other.m_unparsedFillColor;
  32. - m_strokeStyle = other.m_strokeStyle;
  33. - m_fillStyle = other.m_fillStyle;
  34. - m_lineWidth = other.m_lineWidth;
  35. - m_lineCap = other.m_lineCap;
  36. - m_lineJoin = other.m_lineJoin;
  37. - m_miterLimit = other.m_miterLimit;
  38. - m_shadowOffset = other.m_shadowOffset;
  39. - m_shadowBlur = other.m_shadowBlur;
  40. - m_shadowColor = other.m_shadowColor;
  41. - m_globalAlpha = other.m_globalAlpha;
  42. - m_globalComposite = other.m_globalComposite;
  43. - m_transform = other.m_transform;
  44. - m_invertibleCTM = other.m_invertibleCTM;
  45. - m_textAlign = other.m_textAlign;
  46. - m_textBaseline = other.m_textBaseline;
  47. - m_unparsedFont = other.m_unparsedFont;
  48. - m_font = other.m_font;
  49. - m_realizedFont = other.m_realizedFont;
  50. -
  51. if (m_realizedFont)
  52. m_font.fontSelector()->registerForInvalidationCallbacks(this);
  53. }
Add Comment
Please, Sign In to add comment