Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / accessibility / AXSlider.cpp
index b4678f9..7801f11 100644 (file)
@@ -29,7 +29,7 @@
 #include "config.h"
 #include "core/accessibility/AXSlider.h"
 
-#include "core/accessibility/AXObjectCache.h"
+#include "core/accessibility/AXObjectCacheImpl.h"
 #include "core/dom/shadow/ShadowRoot.h"
 #include "core/html/HTMLInputElement.h"
 #include "core/html/shadow/ShadowElementNames.h"
@@ -83,7 +83,7 @@ void AXSlider::addChildren()
 
     m_haveChildren = true;
 
-    AXObjectCache* cache = m_renderer->document().axObjectCache();
+    AXObjectCacheImpl* cache = toAXObjectCacheImpl(m_renderer->document().axObjectCache());
 
     AXSliderThumb* thumb = static_cast<AXSliderThumb*>(cache->getOrCreate(SliderThumbRole));
     thumb->setParent(this);