| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |