| 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" | |
| 6 #include "web_content_layer_impl.h" | 5 #include "web_content_layer_impl.h" |
| 7 | 6 |
| 8 #include "SkMatrix44.h" | 7 #include "SkMatrix44.h" |
| 9 #include "base/command_line.h" | 8 #include "base/command_line.h" |
| 10 #include "cc/content_layer.h" | 9 #include "cc/content_layer.h" |
| 11 #include "cc/picture_layer.h" | 10 #include "cc/picture_layer.h" |
| 12 #include "cc/switches.h" | 11 #include "cc/switches.h" |
| 13 #include "third_party/WebKit/Source/Platform/chromium/public/WebContentLayerClie
nt.h" | 12 #include "third_party/WebKit/Source/Platform/chromium/public/WebContentLayerClie
nt.h" |
| 14 #include "third_party/WebKit/Source/Platform/chromium/public/WebFloatPoint.h" | 13 #include "third_party/WebKit/Source/Platform/chromium/public/WebFloatPoint.h" |
| 15 #include "third_party/WebKit/Source/Platform/chromium/public/WebFloatRect.h" | 14 #include "third_party/WebKit/Source/Platform/chromium/public/WebFloatRect.h" |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 m_client->paintContents(canvas, | 91 m_client->paintContents(canvas, |
| 93 clip, | 92 clip, |
| 94 #if WEBCONTENTLAYERCLIENT_HAS_CANPAINTLCDTEXT | 93 #if WEBCONTENTLAYERCLIENT_HAS_CANPAINTLCDTEXT |
| 95 m_layer->layer()->useLCDText(), | 94 m_layer->layer()->useLCDText(), |
| 96 #endif // WEBCONTENTLAYERCLIENT_HAS_CANPAINTLCDTEXT | 95 #endif // WEBCONTENTLAYERCLIENT_HAS_CANPAINTLCDTEXT |
| 97 webOpaque); | 96 webOpaque); |
| 98 opaque = webOpaque; | 97 opaque = webOpaque; |
| 99 } | 98 } |
| 100 | 99 |
| 101 } // namespace WebKit | 100 } // namespace WebKit |
| OLD | NEW |