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

Side by Side Diff: Source/core/html/shadow/MediaControlElementTypes.cpp

Issue 977113003: Rename renderer() to layoutObject(). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 9 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2008, 2009, 2010, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2008, 2009, 2010, 2011 Apple Inc. All rights reserved.
3 * Copyright (C) 2012 Google Inc. All rights reserved. 3 * Copyright (C) 2012 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 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. 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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 { 88 {
89 m_element->removeInlineStyleProperty(CSSPropertyDisplay); 89 m_element->removeInlineStyleProperty(CSSPropertyDisplay);
90 } 90 }
91 91
92 void MediaControlElement::setDisplayType(MediaControlElementType displayType) 92 void MediaControlElement::setDisplayType(MediaControlElementType displayType)
93 { 93 {
94 if (displayType == m_displayType) 94 if (displayType == m_displayType)
95 return; 95 return;
96 96
97 m_displayType = displayType; 97 m_displayType = displayType;
98 if (LayoutObject* object = m_element->renderer()) 98 if (LayoutObject* object = m_element->layoutObject())
99 object->setShouldDoFullPaintInvalidation(); 99 object->setShouldDoFullPaintInvalidation();
100 } 100 }
101 101
102 DEFINE_TRACE(MediaControlElement) 102 DEFINE_TRACE(MediaControlElement)
103 { 103 {
104 visitor->trace(m_element); 104 visitor->trace(m_element);
105 } 105 }
106 106
107 // ---------------------------- 107 // ----------------------------
108 108
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 , m_currentValue(0) 144 , m_currentValue(0)
145 { 145 {
146 } 146 }
147 147
148 void MediaControlTimeDisplayElement::setCurrentValue(double time) 148 void MediaControlTimeDisplayElement::setCurrentValue(double time)
149 { 149 {
150 m_currentValue = time; 150 m_currentValue = time;
151 } 151 }
152 152
153 } // namespace blink 153 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/html/shadow/ClearButtonElement.cpp ('k') | Source/core/html/shadow/MediaControlElements.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698