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

Side by Side Diff: Source/core/dom/ClientRect.cpp

Issue 540283003: bindings: Retires ScriptWrappable::init, etc. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Addressed a review comment. Created 6 years, 3 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
« no previous file with comments | « Source/core/dom/CharacterData.h ('k') | Source/core/dom/ClientRectList.cpp » ('j') | 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) 2009 Apple Inc. All Rights Reserved. 2 * Copyright (C) 2009 Apple Inc. All Rights Reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 13 matching lines...) Expand all
24 * 24 *
25 */ 25 */
26 26
27 #include "config.h" 27 #include "config.h"
28 #include "core/dom/ClientRect.h" 28 #include "core/dom/ClientRect.h"
29 29
30 namespace blink { 30 namespace blink {
31 31
32 ClientRect::ClientRect() 32 ClientRect::ClientRect()
33 { 33 {
34 ScriptWrappable::init(this);
35 } 34 }
36 35
37 ClientRect::ClientRect(const IntRect& rect) 36 ClientRect::ClientRect(const IntRect& rect)
38 : m_rect(rect) 37 : m_rect(rect)
39 { 38 {
40 ScriptWrappable::init(this);
41 } 39 }
42 40
43 ClientRect::ClientRect(const FloatRect& rect) 41 ClientRect::ClientRect(const FloatRect& rect)
44 : m_rect(rect) 42 : m_rect(rect)
45 { 43 {
46 ScriptWrappable::init(this);
47 } 44 }
48 45
49 } // namespace blink 46 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/dom/CharacterData.h ('k') | Source/core/dom/ClientRectList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698