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

Unified Diff: third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DAPITest.cpp

Issue 2858493002: Rename AXObject to AXObjectImpl in modules/ and web/ (Closed)
Patch Set: Fixed rebase Created 3 years, 7 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
Index: third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DAPITest.cpp
diff --git a/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DAPITest.cpp b/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DAPITest.cpp
index 012aef4d1b202ec267aee43f7c36c37b7546f84d..5f3e9d1bae9a637587477090847d055058338b3e 100644
--- a/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DAPITest.cpp
+++ b/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DAPITest.cpp
@@ -4,6 +4,7 @@
#include "modules/canvas2d/CanvasRenderingContext2D.h"
+#include <memory>
#include "core/dom/Document.h"
#include "core/frame/FrameView.h"
#include "core/frame/Settings.h"
@@ -11,8 +12,8 @@
#include "core/html/ImageData.h"
#include "core/loader/EmptyClients.h"
#include "core/testing/DummyPageHolder.h"
-#include "modules/accessibility/AXObject.h"
#include "modules/accessibility/AXObjectCacheImpl.h"
+#include "modules/accessibility/AXObjectImpl.h"
#include "modules/canvas2d/CanvasGradient.h"
#include "modules/canvas2d/CanvasPattern.h"
#include "modules/canvas2d/HitRegionOptions.h"
@@ -20,7 +21,6 @@
#include "platform/graphics/UnacceleratedImageBufferSurface.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
-#include <memory>
using ::testing::Mock;
@@ -331,7 +331,7 @@ TEST_F(CanvasRenderingContext2DAPITest, AccessibilityRectTestForAddHitRegion) {
AXObjectCacheImpl* ax_object_cache =
ToAXObjectCacheImpl(GetDocument().ExistingAXObjectCache());
- AXObject* ax_object = ax_object_cache->GetOrCreate(button_element);
+ AXObjectImpl* ax_object = ax_object_cache->GetOrCreate(button_element);
LayoutRect ax_bounds = ax_object->GetBoundsInFrameCoordinates();
EXPECT_EQ(25, ax_bounds.X().ToInt());
@@ -358,7 +358,7 @@ TEST_F(CanvasRenderingContext2DAPITest,
AXObjectCacheImpl* ax_object_cache =
ToAXObjectCacheImpl(GetDocument().ExistingAXObjectCache());
- AXObject* ax_object = ax_object_cache->GetOrCreate(button_element);
+ AXObjectImpl* ax_object = ax_object_cache->GetOrCreate(button_element);
LayoutRect ax_bounds = ax_object->GetBoundsInFrameCoordinates();
EXPECT_EQ(25, ax_bounds.X().ToInt());

Powered by Google App Engine
This is Rietveld 408576698