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

Side by Side Diff: Source/core/svg/SVGPaint.cpp

Issue 72363002: Rename es => exceptionState in other than bindings/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Retry Created 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/svg/SVGMatrix.h ('k') | Source/core/svg/SVGPreserveAspectRatio.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2004, 2005 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org>
4 * Copyright (C) Research In Motion Limited 2010-2011. All rights reserved. 4 * Copyright (C) Research In Motion Limited 2010-2011. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 , m_uri(uri) 56 , m_uri(uri)
57 { 57 {
58 } 58 }
59 59
60 void SVGPaint::setUri(const String&) 60 void SVGPaint::setUri(const String&)
61 { 61 {
62 // The whole SVGPaint interface is deprecated in SVG 1.1 (2nd edition). 62 // The whole SVGPaint interface is deprecated in SVG 1.1 (2nd edition).
63 // The setters are the most problematic part so we remove the support for th ose first. 63 // The setters are the most problematic part so we remove the support for th ose first.
64 } 64 }
65 65
66 void SVGPaint::setPaint(unsigned short, const String&, const String&, const Stri ng&, ExceptionState& es) 66 void SVGPaint::setPaint(unsigned short, const String&, const String&, const Stri ng&, ExceptionState& exceptionState)
67 { 67 {
68 es.throwUninformativeAndGenericDOMException(NoModificationAllowedError); 68 exceptionState.throwUninformativeAndGenericDOMException(NoModificationAllowe dError);
69 } 69 }
70 70
71 String SVGPaint::customCSSText() const 71 String SVGPaint::customCSSText() const
72 { 72 {
73 switch (m_paintType) { 73 switch (m_paintType) {
74 case SVG_PAINTTYPE_UNKNOWN: 74 case SVG_PAINTTYPE_UNKNOWN:
75 case SVG_PAINTTYPE_RGBCOLOR: 75 case SVG_PAINTTYPE_RGBCOLOR:
76 case SVG_PAINTTYPE_RGBCOLOR_ICCCOLOR: 76 case SVG_PAINTTYPE_RGBCOLOR_ICCCOLOR:
77 case SVG_PAINTTYPE_CURRENTCOLOR: 77 case SVG_PAINTTYPE_CURRENTCOLOR:
78 return SVGColor::customCSSText(); 78 return SVGColor::customCSSText();
(...skipping 28 matching lines...) Expand all
107 { 107 {
108 return adoptRef(new SVGPaint(*this)); 108 return adoptRef(new SVGPaint(*this));
109 } 109 }
110 110
111 bool SVGPaint::equals(const SVGPaint& other) const 111 bool SVGPaint::equals(const SVGPaint& other) const
112 { 112 {
113 return m_paintType == other.m_paintType && m_uri == other.m_uri && SVGColor: :equals(other); 113 return m_paintType == other.m_paintType && m_uri == other.m_uri && SVGColor: :equals(other);
114 } 114 }
115 115
116 } 116 }
OLDNEW
« no previous file with comments | « Source/core/svg/SVGMatrix.h ('k') | Source/core/svg/SVGPreserveAspectRatio.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698