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

Side by Side Diff: Source/core/html/canvas/CanvasPattern.h

Issue 932403002: InlinedVisitor: Migrate html to use inlined tracing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2008 Apple 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 static PassRefPtrWillBeRawPtr<CanvasPattern> create(PassRefPtr<Image> image, 46 static PassRefPtrWillBeRawPtr<CanvasPattern> create(PassRefPtr<Image> image,
47 Pattern::RepeatMode repeat, bool originClean) 47 Pattern::RepeatMode repeat, bool originClean)
48 { 48 {
49 return adoptRefWillBeNoop(new CanvasPattern(image, repeat, originClean)) ; 49 return adoptRefWillBeNoop(new CanvasPattern(image, repeat, originClean)) ;
50 } 50 }
51 51
52 Pattern* pattern() const { return m_pattern.get(); } 52 Pattern* pattern() const { return m_pattern.get(); }
53 53
54 bool originClean() const { return m_originClean; } 54 bool originClean() const { return m_originClean; }
55 55
56 void trace(Visitor*) { } 56 DEFINE_INLINE_TRACE() { }
57 57
58 void setTransform(SVGMatrixTearOff*); 58 void setTransform(SVGMatrixTearOff*);
59 59
60 private: 60 private:
61 CanvasPattern(PassRefPtr<Image>, Pattern::RepeatMode, bool originClean); 61 CanvasPattern(PassRefPtr<Image>, Pattern::RepeatMode, bool originClean);
62 62
63 RefPtr<Pattern> m_pattern; 63 RefPtr<Pattern> m_pattern;
64 bool m_originClean; 64 bool m_originClean;
65 }; 65 };
66 66
67 } // namespace blink 67 } // namespace blink
68 68
69 #endif // CanvasPattern_h 69 #endif // CanvasPattern_h
OLDNEW
« no previous file with comments | « Source/core/html/canvas/CanvasGradient.h ('k') | Source/core/html/canvas/CanvasRenderingContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698