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

Unified Diff: Source/platform/graphics/filters/FilterOperation.h

Issue 137933002: Update more platform classes to use OVERRIDE / FINAL when needed (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 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
Index: Source/platform/graphics/filters/FilterOperation.h
diff --git a/Source/platform/graphics/filters/FilterOperation.h b/Source/platform/graphics/filters/FilterOperation.h
index e5a3ead21727727ef9e5e11d33274bf835439dc5..49c5a3e362cc408dad4fd67904370fe145a310fd 100644
--- a/Source/platform/graphics/filters/FilterOperation.h
+++ b/Source/platform/graphics/filters/FilterOperation.h
@@ -120,8 +120,8 @@ public:
return adoptRef(new ReferenceFilterOperation(url, fragment));
}
- virtual bool affectsOpacity() const { return true; }
- virtual bool movesPixels() const { return true; }
+ virtual bool affectsOpacity() const OVERRIDE { return true; }
+ virtual bool movesPixels() const OVERRIDE { return true; }
const String& url() const { return m_url; }
const AtomicString& fragment() const { return m_fragment; }
@@ -136,7 +136,7 @@ private:
return 0;
}
- virtual bool operator==(const FilterOperation& o) const
+ virtual bool operator==(const FilterOperation& o) const OVERRIDE
{
if (!isSameType(o))
return false;
@@ -172,7 +172,7 @@ public:
private:
virtual PassRefPtr<FilterOperation> blend(const FilterOperation* from, double progress) const OVERRIDE;
- virtual bool operator==(const FilterOperation& o) const
+ virtual bool operator==(const FilterOperation& o) const OVERRIDE
{
if (!isSameType(o))
return false;
@@ -207,12 +207,12 @@ public:
double amount() const { return m_amount; }
- virtual bool affectsOpacity() const { return m_type == OPACITY; }
+ virtual bool affectsOpacity() const OVERRIDE { return m_type == OPACITY; }
private:
virtual PassRefPtr<FilterOperation> blend(const FilterOperation* from, double progress) const OVERRIDE;
- virtual bool operator==(const FilterOperation& o) const
+ virtual bool operator==(const FilterOperation& o) const OVERRIDE
{
if (!isSameType(o))
return false;
@@ -246,13 +246,13 @@ public:
Length stdDeviation() const { return m_stdDeviation; }
- virtual bool affectsOpacity() const { return true; }
- virtual bool movesPixels() const { return true; }
+ virtual bool affectsOpacity() const OVERRIDE { return true; }
+ virtual bool movesPixels() const OVERRIDE { return true; }
private:
virtual PassRefPtr<FilterOperation> blend(const FilterOperation* from, double progress) const OVERRIDE;
- virtual bool operator==(const FilterOperation& o) const
+ virtual bool operator==(const FilterOperation& o) const OVERRIDE
{
if (!isSameType(o))
return false;
@@ -284,13 +284,13 @@ public:
int stdDeviation() const { return m_stdDeviation; }
Color color() const { return m_color; }
- virtual bool affectsOpacity() const { return true; }
- virtual bool movesPixels() const { return true; }
+ virtual bool affectsOpacity() const OVERRIDE { return true; }
+ virtual bool movesPixels() const OVERRIDE { return true; }
private:
virtual PassRefPtr<FilterOperation> blend(const FilterOperation* from, double progress) const OVERRIDE;
- virtual bool operator==(const FilterOperation& o) const
+ virtual bool operator==(const FilterOperation& o) const OVERRIDE
{
if (!isSameType(o))
return false;
« no previous file with comments | « Source/platform/graphics/filters/FETurbulence.h ('k') | Source/platform/graphics/filters/PointLightSource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698