diff options
author | Steve Block <steveblock@google.com> | 2009-12-15 11:15:20 +0000 |
---|---|---|
committer | Steve Block <steveblock@google.com> | 2009-12-17 17:41:10 +0000 |
commit | aad6f24e036b3740071bb995b955b18b572067b2 (patch) | |
tree | 01f4412526c81ec62e02d71d128ec45827a12fdc /WebCore/rendering | |
parent | dc11ae82374cba25ed19c3e57537cbc667f8efe2 (diff) | |
download | external_webkit-aad6f24e036b3740071bb995b955b18b572067b2.zip external_webkit-aad6f24e036b3740071bb995b955b18b572067b2.tar.gz external_webkit-aad6f24e036b3740071bb995b955b18b572067b2.tar.bz2 |
Merge webkit.org at r51976 : Fix general conflicts.
Notes ...
For FrameLoader.cpp/h, see http://trac.webkit.org/changeset/51644
For FrameView.cpp and ScrolView.cpp, see http://trac.webkit.org/changeset/51636
For PluginInfoStore.cpp, see http://trac.webkit.org/changeset/51257
For Geolocation.cpp, see http://trac.webkit.org/changeset/50605
For V8DOMWrapper.cpp, see http://trac.webkit.org/changeset/51004
For V8Proxy.cpp, see http://trac.webkit.org/changeset/50441, http://trac.webkit.org/changeset/50327, http://trac.webkit.org/changeset/50406 and http://trac.webkit.org/changeset/50523
For HTMLInputElement.cpp, see http://trac.webkit.org/changeset/50996
For RenderBlock.cpp/RenderInline.cpp, see https://android-git.corp.google.com/g/#change,33465
Android-specific change to now-deleted JSCanvasArrayCustom.cpp was trivial.
Change-Id: Iddc8d43bdcb6208d6a991a7a1d591e8a4f918bf7
Diffstat (limited to 'WebCore/rendering')
-rw-r--r-- | WebCore/rendering/RenderBlock.cpp | 14 | ||||
-rw-r--r-- | WebCore/rendering/RenderInline.cpp | 11 | ||||
-rw-r--r-- | WebCore/rendering/RenderLayer.cpp | 6 | ||||
-rw-r--r-- | WebCore/rendering/RenderWidget.cpp | 14 |
4 files changed, 2 insertions, 43 deletions
diff --git a/WebCore/rendering/RenderBlock.cpp b/WebCore/rendering/RenderBlock.cpp index 204a0c3..4d60569 100644 --- a/WebCore/rendering/RenderBlock.cpp +++ b/WebCore/rendering/RenderBlock.cpp @@ -162,23 +162,9 @@ RenderBlock::~RenderBlock() void RenderBlock::destroy() { -<<<<<<< HEAD:WebCore/rendering/RenderBlock.cpp - // Make sure to destroy anonymous children first while they are still connected to the rest of the tree, so that they will - // properly dirty line boxes that they are removed from. Effects that do :before/:after only on hover could crash otherwise. - children()->destroyLeftoverChildren(); - - // Destroy our continuation before anything other than anonymous children. - // The reason we don't destroy it before anonymous children is that they may - // have continuations of their own that are anonymous children of our continuation. - if (m_inlineContinuation) { - m_inlineContinuation->destroy(); - m_inlineContinuation = 0; - } -======= // Make sure to destroy anonymous children first while they are still connected to the rest of the tree, so that they will // properly dirty line boxes that they are removed from. Effects that do :before/:after only on hover could crash otherwise. children()->destroyLeftoverChildren(); ->>>>>>> webkit.org at r51976:WebCore/rendering/RenderBlock.cpp // Destroy our continuation before anything other than anonymous children. // The reason we don't destroy it before anonymous children is that they may diff --git a/WebCore/rendering/RenderInline.cpp b/WebCore/rendering/RenderInline.cpp index 6df5ffe..2f9a247 100644 --- a/WebCore/rendering/RenderInline.cpp +++ b/WebCore/rendering/RenderInline.cpp @@ -56,16 +56,6 @@ void RenderInline::destroy() // properly dirty line boxes that they are removed from. Effects that do :before/:after only on hover could crash otherwise. children()->destroyLeftoverChildren(); -<<<<<<< HEAD:WebCore/rendering/RenderInline.cpp - // Destroy our continuation before anything other than anonymous children. - // The reason we don't destroy it before anonymous children is that they may - // have continuations of their own that are anonymous children of our continuation. - if (m_continuation) { - m_continuation->destroy(); - m_continuation = 0; - } - -======= // Destroy our continuation before anything other than anonymous children. // The reason we don't destroy it before anonymous children is that they may // have continuations of their own that are anonymous children of our continuation. @@ -74,7 +64,6 @@ void RenderInline::destroy() m_continuation = 0; } ->>>>>>> webkit.org at r51976:WebCore/rendering/RenderInline.cpp if (!documentBeingDestroyed()) { if (firstLineBox()) { // We can't wait for RenderBoxModelObject::destroy to clear the selection, diff --git a/WebCore/rendering/RenderLayer.cpp b/WebCore/rendering/RenderLayer.cpp index ee7814c..7e0fee9 100644 --- a/WebCore/rendering/RenderLayer.cpp +++ b/WebCore/rendering/RenderLayer.cpp @@ -2182,12 +2182,8 @@ void RenderLayer::paintLayer(RenderLayer* rootLayer, GraphicsContext* p, #else TransformationMatrix transform; transform.translate(x, y); -<<<<<<< HEAD:WebCore/rendering/RenderLayer.cpp - transform = *m_transform * transform; -#endif -======= transform = layerTransform * transform; ->>>>>>> webkit.org at r51976:WebCore/rendering/RenderLayer.cpp +#endif // Apply the transform. p->save(); diff --git a/WebCore/rendering/RenderWidget.cpp b/WebCore/rendering/RenderWidget.cpp index 33f03e2..8b7e899 100644 --- a/WebCore/rendering/RenderWidget.cpp +++ b/WebCore/rendering/RenderWidget.cpp @@ -305,21 +305,9 @@ void RenderWidget::updateWidgetPosition() int w = width() - borderLeft() - borderRight() - paddingLeft() - paddingRight(); int h = height() - borderTop() - borderBottom() - paddingTop() - paddingBottom(); -<<<<<<< HEAD:WebCore/rendering/RenderWidget.cpp - IntRect newBounds(absPos.x(), absPos.y(), w, h); - IntRect oldBounds(m_widget->frameRect()); - bool boundsChanged = newBounds != oldBounds; - if (boundsChanged) { - RenderWidgetProtector protector(this); - RefPtr<Node> protectedNode(node()); - m_widget->setFrameRect(newBounds); - } - -#ifndef FLATTEN_IFRAME -======= bool boundsChanged = setWidgetGeometry(IntRect(absPos.x(), absPos.y(), w, h)); ->>>>>>> webkit.org at r51976:WebCore/rendering/RenderWidget.cpp +#ifndef FLATTEN_IFRAME // if the frame bounds got changed, or if view needs layout (possibly indicating // content size is wrong) we have to do a layout to set the right widget size if (m_widget->isFrameView()) { |