Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1783)

Unified Diff: Source/modules/accessibility/AXRenderObject.cpp

Issue 931003002: Move and rename RenderPart to LayoutPart. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/rendering/svg/RenderSVGRoot.cpp ('k') | Source/platform/graphics/CompositingReasons.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/accessibility/AXRenderObject.cpp
diff --git a/Source/modules/accessibility/AXRenderObject.cpp b/Source/modules/accessibility/AXRenderObject.cpp
index 35dff3c9040c3a2c70e3db200759f08fee5eccf3..137c2048e60cfbfd11c8fab60c462dbcc352dcb8 100644
--- a/Source/modules/accessibility/AXRenderObject.cpp
+++ b/Source/modules/accessibility/AXRenderObject.cpp
@@ -51,6 +51,7 @@
#include "core/layout/Layer.h"
#include "core/layout/LayoutHTMLCanvas.h"
#include "core/layout/LayoutImage.h"
+#include "core/layout/LayoutPart.h"
#include "core/layout/LayoutTextControlSingleLine.h"
#include "core/loader/ProgressTracker.h"
#include "core/page/Page.h"
@@ -59,7 +60,6 @@
#include "core/rendering/RenderInline.h"
#include "core/rendering/RenderListMarker.h"
#include "core/rendering/RenderMenuList.h"
-#include "core/rendering/RenderPart.h"
#include "core/rendering/RenderTextFragment.h"
#include "core/rendering/RenderView.h"
#include "core/svg/SVGDocumentExtensions.h"
@@ -413,9 +413,9 @@ bool AXRenderObject::isAttachment() const
if (!renderer)
return false;
// Widgets are the replaced elements that we represent to AX as attachments
- bool isRenderPart = renderer->isRenderPart();
- ASSERT(!isRenderPart || (renderer->isReplaced() && !isImage()));
- return isRenderPart;
+ bool isLayoutPart = renderer->isLayoutPart();
+ ASSERT(!isLayoutPart || (renderer->isReplaced() && !isImage()));
+ return isLayoutPart;
}
static bool isLinkable(const AXObject& object)
@@ -1648,7 +1648,7 @@ Widget* AXRenderObject::widgetForAttachmentView() const
{
if (!isAttachment())
return 0;
- return toRenderPart(m_renderer)->widget();
+ return toLayoutPart(m_renderer)->widget();
}
//
« no previous file with comments | « Source/core/rendering/svg/RenderSVGRoot.cpp ('k') | Source/platform/graphics/CompositingReasons.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698