OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 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 1260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1271 | 1271 |
1272 void InspectorPageAgent::setShowViewportSizeOnResize(ErrorString*, bool show, co
nst bool* showGrid) | 1272 void InspectorPageAgent::setShowViewportSizeOnResize(ErrorString*, bool show, co
nst bool* showGrid) |
1273 { | 1273 { |
1274 m_state->setBoolean(PageAgentState::showSizeOnResize, show); | 1274 m_state->setBoolean(PageAgentState::showSizeOnResize, show); |
1275 m_state->setBoolean(PageAgentState::showGridOnResize, showGrid && *showGrid)
; | 1275 m_state->setBoolean(PageAgentState::showGridOnResize, showGrid && *showGrid)
; |
1276 } | 1276 } |
1277 | 1277 |
1278 void InspectorPageAgent::trace(Visitor* visitor) | 1278 void InspectorPageAgent::trace(Visitor* visitor) |
1279 { | 1279 { |
1280 visitor->trace(m_page); | 1280 visitor->trace(m_page); |
| 1281 visitor->trace(m_injectedScriptManager); |
1281 InspectorBaseAgent::trace(visitor); | 1282 InspectorBaseAgent::trace(visitor); |
1282 } | 1283 } |
1283 | 1284 |
1284 } // namespace WebCore | 1285 } // namespace WebCore |
1285 | 1286 |
OLD | NEW |