| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google 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 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 | 25 |
| 26 #include "config.h" | 26 #include "config.h" |
| 27 | 27 |
| 28 #include "core/rendering/compositing/CompositedLayerMapping.h" | 28 #include "core/rendering/compositing/CompositedLayerMapping.h" |
| 29 | 29 |
| 30 #include "FrameTestHelpers.h" | 30 #include "FrameTestHelpers.h" |
| 31 #include "URLTestHelpers.h" | 31 #include "URLTestHelpers.h" |
| 32 #include "WebDocument.h" | 32 #include "WebDocument.h" |
| 33 #include "WebElement.h" | 33 #include "WebElement.h" |
| 34 #include "WebFrameClient.h" | 34 #include "WebFrameClient.h" |
| 35 #include "WebFrameImpl.h" | 35 #include "WebLocalFrameImpl.h" |
| 36 #include "WebSettings.h" | 36 #include "WebSettings.h" |
| 37 #include "WebViewClient.h" | 37 #include "WebViewClient.h" |
| 38 #include "WebViewImpl.h" | 38 #include "WebViewImpl.h" |
| 39 #include "core/dom/Document.h" | 39 #include "core/dom/Document.h" |
| 40 #include "core/frame/FrameView.h" | 40 #include "core/frame/FrameView.h" |
| 41 #include "public/platform/Platform.h" | 41 #include "public/platform/Platform.h" |
| 42 #include "public/platform/WebUnitTestSupport.h" | 42 #include "public/platform/WebUnitTestSupport.h" |
| 43 | 43 |
| 44 #include <gtest/gtest.h> | 44 #include <gtest/gtest.h> |
| 45 | 45 |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 | 127 |
| 128 layerElement = document->getElementById("layer-solid-color"); | 128 layerElement = document->getElementById("layer-solid-color"); |
| 129 renderer = toRenderLayerModelObject(layerElement->renderer()); | 129 renderer = toRenderLayerModelObject(layerElement->renderer()); |
| 130 // CompositedLayerMapping::graphicsLayer's background color is unset if Soli
dColorLayer is created. | 130 // CompositedLayerMapping::graphicsLayer's background color is unset if Soli
dColorLayer is created. |
| 131 EXPECT_EQ(Color(), renderer->layer()->compositedLayerMapping()->mainGraphics
Layer()->backgroundColor()); | 131 EXPECT_EQ(Color(), renderer->layer()->compositedLayerMapping()->mainGraphics
Layer()->backgroundColor()); |
| 132 } | 132 } |
| 133 | 133 |
| 134 } | 134 } |
| 135 | 135 |
| 136 } // namespace WebCore | 136 } // namespace WebCore |
| OLD | NEW |