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

Unified Diff: third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.idl

Issue 1405963012: Remove [TreatNullAs=NullString] from attributes on CanvasRenderingContext2D (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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/modules/canvas2d/CanvasRenderingContext2D.idl
diff --git a/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.idl b/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.idl
index b830fb915a69ec1984233b9db9baeb7ad6b917d1..e385a1765572be36636b6a185726367a1c408e0a 100644
--- a/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.idl
+++ b/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.idl
@@ -58,7 +58,7 @@ enum ImageSmoothingQuality {"low", "medium", "high"};
// compositing
attribute unrestricted float globalAlpha; // (default 1.0)
- [TreatNullAs=NullString] attribute DOMString globalCompositeOperation; // (default source-over)
+ attribute DOMString globalCompositeOperation; // (default source-over)
[RuntimeEnabled=ExperimentalCanvasFeatures] attribute DOMString filter; // (default 'none')
// image smoothing
@@ -77,7 +77,7 @@ enum ImageSmoothingQuality {"low", "medium", "high"};
attribute unrestricted float shadowOffsetX;
attribute unrestricted float shadowOffsetY;
attribute unrestricted float shadowBlur;
- [TreatNullAs=NullString] attribute DOMString shadowColor;
+ attribute DOMString shadowColor;
// rects
void clearRect(unrestricted float x, unrestricted float y, unrestricted float width, unrestricted float height);
@@ -133,8 +133,8 @@ enum ImageSmoothingQuality {"low", "medium", "high"};
// FIXME: factor out to CanvasDrawingStyles
// line caps/joins
attribute unrestricted float lineWidth; // (default 1)
- [TreatNullAs=NullString] attribute DOMString lineCap; // "butt", "round", "square" (default "butt")
- [TreatNullAs=NullString] attribute DOMString lineJoin; // "round", "bevel", "miter" (default "miter")
+ attribute DOMString lineCap; // "butt", "round", "square" (default "butt")
+ attribute DOMString lineJoin; // "round", "bevel", "miter" (default "miter")
attribute unrestricted float miterLimit; // (default 10)
// dashed lines
« 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