| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 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 are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 #include "platform/geometry/FloatRect.h" | 34 #include "platform/geometry/FloatRect.h" |
| 35 | 35 |
| 36 #include "wtf/FastAllocBase.h" | 36 #include "wtf/FastAllocBase.h" |
| 37 #include "wtf/RefCounted.h" | 37 #include "wtf/RefCounted.h" |
| 38 #include "wtf/RefPtr.h" | 38 #include "wtf/RefPtr.h" |
| 39 | 39 |
| 40 class SkCanvas; | 40 class SkCanvas; |
| 41 class SkPicture; | 41 class SkPicture; |
| 42 class SkPictureRecorder; | 42 class SkPictureRecorder; |
| 43 | 43 |
| 44 namespace WebCore { | 44 namespace blink { |
| 45 | 45 |
| 46 class IntSize; | 46 class IntSize; |
| 47 | 47 |
| 48 class PLATFORM_EXPORT DisplayList FINAL : public WTF::RefCounted<DisplayList> { | 48 class PLATFORM_EXPORT DisplayList FINAL : public WTF::RefCounted<DisplayList> { |
| 49 WTF_MAKE_FAST_ALLOCATED; | 49 WTF_MAKE_FAST_ALLOCATED; |
| 50 WTF_MAKE_NONCOPYABLE(DisplayList); | 50 WTF_MAKE_NONCOPYABLE(DisplayList); |
| 51 public: | 51 public: |
| 52 DisplayList(const FloatRect&); | 52 DisplayList(const FloatRect&); |
| 53 ~DisplayList(); | 53 ~DisplayList(); |
| 54 | 54 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 66 | 66 |
| 67 private: | 67 private: |
| 68 FloatRect m_bounds; | 68 FloatRect m_bounds; |
| 69 RefPtr<SkPicture> m_picture; | 69 RefPtr<SkPicture> m_picture; |
| 70 OwnPtr<SkPictureRecorder> m_recorder; | 70 OwnPtr<SkPictureRecorder> m_recorder; |
| 71 }; | 71 }; |
| 72 | 72 |
| 73 } | 73 } |
| 74 | 74 |
| 75 #endif // DisplayList_h | 75 #endif // DisplayList_h |
| OLD | NEW |