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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « Source/core/rendering/RenderSlider.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
3 * Copyright (C) 2010 Google Inc. All rights reserved. 3 * Copyright (C) 2010 Google Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 30 matching lines...) Expand all
41 41
42 class RenderSliderThumb FINAL : public RenderBlockFlow { 42 class RenderSliderThumb FINAL : public RenderBlockFlow {
43 public: 43 public:
44 RenderSliderThumb(SliderThumbElement*); 44 RenderSliderThumb(SliderThumbElement*);
45 void updateAppearance(RenderStyle* parentStyle); 45 void updateAppearance(RenderStyle* parentStyle);
46 46
47 private: 47 private:
48 virtual bool isSliderThumb() const OVERRIDE; 48 virtual bool isSliderThumb() const OVERRIDE;
49 }; 49 };
50 50
51 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderSliderThumb, isSliderThumb());
52
51 } // namespace blink 53 } // namespace blink
52 54
53 #endif // RenderSliderThumb_h 55 #endif // RenderSliderThumb_h
OLDNEW
« 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