| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2001 Dirk Mueller (mueller@kde.org) | 4 * (C) 2001 Dirk Mueller (mueller@kde.org) |
| 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r
ights reserved. | 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r
ights reserved. |
| 6 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) | 6 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) |
| 7 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) | 7 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) |
| 8 * | 8 * |
| 9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
| 10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
| (...skipping 515 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 526 | 526 |
| 527 void Node::markAncestorsWithChildNeedsDistributionRecalc() | 527 void Node::markAncestorsWithChildNeedsDistributionRecalc() |
| 528 { | 528 { |
| 529 for (Node* node = this; node && !node->childNeedsDistributionRecalc(); node
= node->parentOrShadowHostNode()) | 529 for (Node* node = this; node && !node->childNeedsDistributionRecalc(); node
= node->parentOrShadowHostNode()) |
| 530 node->setChildNeedsDistributionRecalc(); | 530 node->setChildNeedsDistributionRecalc(); |
| 531 document().scheduleRenderTreeUpdateIfNeeded(); | 531 document().scheduleRenderTreeUpdateIfNeeded(); |
| 532 } | 532 } |
| 533 | 533 |
| 534 namespace { | 534 namespace { |
| 535 | 535 |
| 536 class JSONTraceValue : public base::debug::ConvertableToTraceFormat { | 536 class JSONTraceValue : public base::trace_event::ConvertableToTraceFormat { |
| 537 public: | 537 public: |
| 538 explicit JSONTraceValue(RefPtr<JSONValue> value) | 538 explicit JSONTraceValue(RefPtr<JSONValue> value) |
| 539 : m_value(value.release()) { } | 539 : m_value(value.release()) { } |
| 540 | 540 |
| 541 void AppendAsTraceFormat(std::string* out) const override | 541 void AppendAsTraceFormat(std::string* out) const override |
| 542 { | 542 { |
| 543 out->append(m_value->toJSONString().utf8().data()); | 543 out->append(m_value->toJSONString().utf8().data()); |
| 544 } | 544 } |
| 545 | 545 |
| 546 private: | 546 private: |
| (...skipping 1115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1662 node->showTreeForThis(); | 1662 node->showTreeForThis(); |
| 1663 } | 1663 } |
| 1664 | 1664 |
| 1665 void showNodePath(const blink::Node* node) | 1665 void showNodePath(const blink::Node* node) |
| 1666 { | 1666 { |
| 1667 if (node) | 1667 if (node) |
| 1668 node->showNodePathForThis(); | 1668 node->showNodePathForThis(); |
| 1669 } | 1669 } |
| 1670 | 1670 |
| 1671 #endif | 1671 #endif |
| OLD | NEW |