OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "web/InspectorRenderingAgent.h" | 6 #include "web/InspectorRenderingAgent.h" |
7 | 7 |
8 #include "core/frame/FrameView.h" | 8 #include "core/frame/FrameView.h" |
9 #include "core/frame/Settings.h" | 9 #include "core/frame/Settings.h" |
10 #include "core/inspector/InspectorState.h" | 10 #include "core/inspector/InspectorState.h" |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 if (!webViewImpl()->page()->settings().acceleratedCompositingEnabled()) { | 92 if (!webViewImpl()->page()->settings().acceleratedCompositingEnabled()) { |
93 if (errorString) | 93 if (errorString) |
94 *errorString = "Compositing mode is not supported"; | 94 *errorString = "Compositing mode is not supported"; |
95 return false; | 95 return false; |
96 } | 96 } |
97 return true; | 97 return true; |
98 } | 98 } |
99 | 99 |
100 DEFINE_TRACE(InspectorRenderingAgent) | 100 DEFINE_TRACE(InspectorRenderingAgent) |
101 { | 101 { |
| 102 visitor->trace(m_webLocalFrameImpl); |
102 InspectorBaseAgent::trace(visitor); | 103 InspectorBaseAgent::trace(visitor); |
103 } | 104 } |
104 | 105 |
105 } // namespace blink | 106 } // namespace blink |
OLD | NEW |