| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
| 3 * Copyright (C) 2013 Apple Inc. All rights reserved. | 3 * Copyright (C) 2013 Apple 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 3070 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3081 if (!node || !node->layoutObject()) | 3081 if (!node || !node->layoutObject()) |
| 3082 return ClientRect::create(); | 3082 return ClientRect::create(); |
| 3083 | 3083 |
| 3084 return ClientRect::create(FloatRect(node->layoutObject()->visualRect())); | 3084 return ClientRect::create(FloatRect(node->layoutObject()->visualRect())); |
| 3085 } | 3085 } |
| 3086 | 3086 |
| 3087 void Internals::crash() { | 3087 void Internals::crash() { |
| 3088 CHECK(false) << "Intentional crash"; | 3088 CHECK(false) << "Intentional crash"; |
| 3089 } | 3089 } |
| 3090 | 3090 |
| 3091 void Internals::setIsLowEndDevice(bool isLowEndDevice) { |
| 3092 MemoryCoordinator::setIsLowEndDeviceForTesting(isLowEndDevice); |
| 3093 } |
| 3094 |
| 3091 } // namespace blink | 3095 } // namespace blink |
| OLD | NEW |