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

Unified Diff: Source/core/rendering/RenderSliderThumb.h

Issue 611983006: Add a safe cast for RenderSliderThumb (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add proper cast Created 6 years, 2 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/RenderSlider.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderSliderThumb.h
diff --git a/Source/core/rendering/RenderSliderThumb.h b/Source/core/rendering/RenderSliderThumb.h
index bc1aec009990984d8991fa8407a3e2f6d86d5e06..8987906c3831a45d0ce2864528e23a577d8ef4af 100644
--- a/Source/core/rendering/RenderSliderThumb.h
+++ b/Source/core/rendering/RenderSliderThumb.h
@@ -48,6 +48,8 @@ private:
virtual bool isSliderThumb() const OVERRIDE;
};
+DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderSliderThumb, isSliderThumb());
+
} // namespace blink
#endif // RenderSliderThumb_h
« no previous file with comments | « Source/core/rendering/RenderSlider.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698