OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2008 Google Inc. All rights reserved. | 2 * Copyright (C) 2008 Google 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 25 matching lines...) Expand all Loading... |
36 #include "PlatformContextSkia.h" | 36 #include "PlatformContextSkia.h" |
37 | 37 |
38 #include "skia/ext/platform_canvas.h" | 38 #include "skia/ext/platform_canvas.h" |
39 | 39 |
40 namespace WebCore { | 40 namespace WebCore { |
41 | 41 |
42 class ImageBufferData { | 42 class ImageBufferData { |
43 public: | 43 public: |
44 ImageBufferData(const IntSize&); | 44 ImageBufferData(const IntSize&); |
45 | 45 |
46 gfx::PlatformCanvas m_canvas; | 46 skia::PlatformCanvas m_canvas; |
47 | 47 |
48 // Must be second since this will refer to m_canvas. | 48 // Must be second since this will refer to m_canvas. |
49 PlatformContextSkia m_platformContext; | 49 PlatformContextSkia m_platformContext; |
50 }; | 50 }; |
51 | 51 |
52 } // namespace WebCore | 52 } // namespace WebCore |
53 | 53 |
54 #endif | 54 #endif |
55 | 55 |
56 #endif // ImageBufferData_h | 56 #endif // ImageBufferData_h |
OLD | NEW |