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

Side by Side Diff: Source/platform/graphics/GradientGeneratedImage.h

Issue 630853002: Replacing the OVERRIDE with override in third_party/WebKit/Source/platform (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase build fix Created 6 years, 2 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 unified diff | Download patch
« no previous file with comments | « Source/platform/graphics/GeneratedImage.h ('k') | Source/platform/graphics/GraphicsLayer.h » ('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) 2008, 2012 Apple Computer, Inc. All rights reserved. 2 * Copyright (C) 2008, 2012 Apple Computer, Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 30 matching lines...) Expand all
41 { 41 {
42 return adoptRef(new GradientGeneratedImage(generator, size)); 42 return adoptRef(new GradientGeneratedImage(generator, size));
43 } 43 }
44 44
45 virtual ~GradientGeneratedImage() 45 virtual ~GradientGeneratedImage()
46 { 46 {
47 } 47 }
48 48
49 protected: 49 protected:
50 virtual void draw(GraphicsContext*, const FloatRect&, const FloatRect&, 50 virtual void draw(GraphicsContext*, const FloatRect&, const FloatRect&,
51 CompositeOperator, WebBlendMode) OVERRIDE; 51 CompositeOperator, WebBlendMode) override;
52 virtual void drawPattern(GraphicsContext*, const FloatRect&, 52 virtual void drawPattern(GraphicsContext*, const FloatRect&,
53 const FloatSize&, const FloatPoint&, CompositeOperator, 53 const FloatSize&, const FloatPoint&, CompositeOperator,
54 const FloatRect&, WebBlendMode, const IntSize& repeatSpacing) OVERRIDE; 54 const FloatRect&, WebBlendMode, const IntSize& repeatSpacing) override;
55 55
56 GradientGeneratedImage(PassRefPtr<Gradient> generator, const IntSize& size) 56 GradientGeneratedImage(PassRefPtr<Gradient> generator, const IntSize& size)
57 : m_gradient(generator) 57 : m_gradient(generator)
58 { 58 {
59 m_size = size; 59 m_size = size;
60 } 60 }
61 61
62 RefPtr<Gradient> m_gradient; 62 RefPtr<Gradient> m_gradient;
63 }; 63 };
64 64
65 } // namespace blink 65 } // namespace blink
66 66
67 #endif 67 #endif
OLDNEW
« no previous file with comments | « Source/platform/graphics/GeneratedImage.h ('k') | Source/platform/graphics/GraphicsLayer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698