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

Unified Diff: Source/modules/canvas2d/CanvasRenderingContext2DState.h

Issue 1225553002: CSSValue Immediates: Make CSSPrimitiveValue a container (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@cssvalue_patch_1
Patch Set: Rebase Created 5 years, 5 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/svg/SVGLength.cpp ('k') | Source/web/PluginPlaceholderImplTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/canvas2d/CanvasRenderingContext2DState.h
diff --git a/Source/modules/canvas2d/CanvasRenderingContext2DState.h b/Source/modules/canvas2d/CanvasRenderingContext2DState.h
index 75401f42c01c9f180642c0f9d6771a57b02e68d6..a5ebbe3b4a4438f411d60db83f7c2edc8e5043cb 100644
--- a/Source/modules/canvas2d/CanvasRenderingContext2DState.h
+++ b/Source/modules/canvas2d/CanvasRenderingContext2DState.h
@@ -84,7 +84,7 @@ public:
void setUnparsedFilter(const String& filterString) { m_unparsedFilter = filterString; }
const String& unparsedFilter() const { return m_unparsedFilter; }
SkImageFilter* getFilter(Element*, const Font&) const;
- bool hasFilter() const { return m_filterValue; }
+ bool hasFilter() const { return (bool)m_filterValue; }
void setStrokeStyle(PassRefPtrWillBeRawPtr<CanvasStyle>);
CanvasStyle* strokeStyle() const { return m_strokeStyle.get(); }
« no previous file with comments | « Source/core/svg/SVGLength.cpp ('k') | Source/web/PluginPlaceholderImplTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698