| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2007, 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007, 2009 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2012 Google Inc. All rights reserved. | 3 * Copyright (C) 2012 Google Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * | 8 * |
| 9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 539 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 550 return true; | 550 return true; |
| 551 return node->document() == m_frame->document(); | 551 return node->document() == m_frame->document(); |
| 552 } | 552 } |
| 553 | 553 |
| 554 void DOMSelection::addConsoleError(const String& message) | 554 void DOMSelection::addConsoleError(const String& message) |
| 555 { | 555 { |
| 556 if (m_treeScope) | 556 if (m_treeScope) |
| 557 m_treeScope->document().addConsoleMessage(ConsoleMessage::create(JSMessa
geSource, ErrorMessageLevel, message)); | 557 m_treeScope->document().addConsoleMessage(ConsoleMessage::create(JSMessa
geSource, ErrorMessageLevel, message)); |
| 558 } | 558 } |
| 559 | 559 |
| 560 void DOMSelection::trace(Visitor* visitor) |
| 561 { |
| 562 visitor->trace(m_treeScope); |
| 563 DOMWindowProperty::trace(visitor); |
| 564 } |
| 565 |
| 560 } // namespace blink | 566 } // namespace blink |
| OLD | NEW |