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

Side by Side Diff: Source/WebCore/platform/graphics/Pattern.h

Issue 9599019: Merge 109171 - [chromium] Inform v8 about extra memory used for PatternSkia clamp mode (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1025/
Patch Set: Created 8 years, 9 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 | « no previous file | Source/WebCore/platform/graphics/Pattern.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) 2006, 2007, 2008 Apple Computer, Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008 Apple Computer, Inc. All rights reserved.
3 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> 3 * Copyright (C) 2008 Eric Seidel <eric@webkit.org>
4 * Copyright (C) 2007-2008 Torch Mobile, Inc. 4 * Copyright (C) 2007-2008 Torch Mobile, Inc.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 bool repeatY() const { return m_repeatY; } 88 bool repeatY() const { return m_repeatY; }
89 89
90 private: 90 private:
91 Pattern(PassRefPtr<Image>, bool repeatX, bool repeatY); 91 Pattern(PassRefPtr<Image>, bool repeatX, bool repeatY);
92 92
93 RefPtr<Image> m_tileImage; 93 RefPtr<Image> m_tileImage;
94 bool m_repeatX; 94 bool m_repeatX;
95 bool m_repeatY; 95 bool m_repeatY;
96 AffineTransform m_patternSpaceTransformation; 96 AffineTransform m_patternSpaceTransformation;
97 PlatformPatternPtr m_pattern; 97 PlatformPatternPtr m_pattern;
98 #if USE(SKIA)
99 size_t m_externalMemoryAllocated;
100 #endif
98 }; 101 };
99 102
100 } //namespace 103 } //namespace
101 104
102 #endif 105 #endif
OLDNEW
« no previous file with comments | « no previous file | Source/WebCore/platform/graphics/Pattern.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698