OLD | NEW |
1 // Copyright 2011 The Chromium Authors. All rights reserved. | 1 // Copyright 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "config.h" | 5 #include "config.h" |
6 #include "WebContentLayerImpl.h" | 6 #include "WebContentLayerImpl.h" |
7 | 7 |
8 #include "ContentLayerChromium.h" | 8 #include "ContentLayerChromium.h" |
9 #include "SkMatrix44.h" | 9 #include "SkMatrix44.h" |
10 #include <public/WebContentLayerClient.h> | 10 #include <public/WebContentLayerClient.h> |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 void WebContentLayerImpl::paintContents(SkCanvas* canvas, const IntRect& clip, F
loatRect& opaque) | 63 void WebContentLayerImpl::paintContents(SkCanvas* canvas, const IntRect& clip, F
loatRect& opaque) |
64 { | 64 { |
65 if (!m_client) | 65 if (!m_client) |
66 return; | 66 return; |
67 WebFloatRect webOpaque; | 67 WebFloatRect webOpaque; |
68 m_client->paintContents(canvas, WebRect(clip), webOpaque); | 68 m_client->paintContents(canvas, WebRect(clip), webOpaque); |
69 opaque = webOpaque; | 69 opaque = webOpaque; |
70 } | 70 } |
71 | 71 |
72 } // namespace WebKit | 72 } // namespace WebKit |
OLD | NEW |