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

Side by Side Diff: Source/core/html/shadow/MediaControlElements.h

Issue 16896019: Replace RenderArena with PartitionAlloc. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 6 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 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 static PassRefPtr<MediaControlTextTrackContainerElement> create(Document*); 252 static PassRefPtr<MediaControlTextTrackContainerElement> create(Document*);
253 253
254 void updateDisplay(); 254 void updateDisplay();
255 void updateSizes(bool forceUpdate = false); 255 void updateSizes(bool forceUpdate = false);
256 static const AtomicString& textTrackContainerElementShadowPseudoId(); 256 static const AtomicString& textTrackContainerElementShadowPseudoId();
257 257
258 private: 258 private:
259 explicit MediaControlTextTrackContainerElement(Document*); 259 explicit MediaControlTextTrackContainerElement(Document*);
260 virtual const AtomicString& shadowPseudoId() const OVERRIDE; 260 virtual const AtomicString& shadowPseudoId() const OVERRIDE;
261 261
262 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*); 262 virtual RenderObject* createRenderer(RenderStyle*);
263 263
264 IntRect m_videoDisplaySize; 264 IntRect m_videoDisplaySize;
265 float m_fontSize; 265 float m_fontSize;
266 }; 266 };
267 267
268 268
269 } // namespace WebCore 269 } // namespace WebCore
270 270
271 #endif // MediaControlElements_h 271 #endif // MediaControlElements_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698