| Index: cc/blink/web_blend_mode.h
|
| diff --git a/content/renderer/compositor_bindings/web_blend_mode.h b/cc/blink/web_blend_mode.h
|
| similarity index 93%
|
| rename from content/renderer/compositor_bindings/web_blend_mode.h
|
| rename to cc/blink/web_blend_mode.h
|
| index 6ab6adee98b05a54510798697332467e4b760edd..95c48d0b443b03418d69c2dc41d57b8d5e9920f4 100644
|
| --- a/content/renderer/compositor_bindings/web_blend_mode.h
|
| +++ b/cc/blink/web_blend_mode.h
|
| @@ -2,12 +2,13 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef CONTENT_RENDERER_COMPOSITOR_BINDINGS_WEB_BLEND_MODE_H_
|
| -#define CONTENT_RENDERER_COMPOSITOR_BINDINGS_WEB_BLEND_MODE_H_
|
| +#ifndef CC_BLINK_WEB_BLEND_MODE_H_
|
| +#define CC_BLINK_WEB_BLEND_MODE_H_
|
|
|
| #include "third_party/WebKit/public/platform/WebBlendMode.h"
|
| +#include "third_party/skia/include/core/SkXfermode.h"
|
|
|
| -namespace content {
|
| +namespace cc_blink {
|
|
|
| inline SkXfermode::Mode BlendModeToSkia(blink::WebBlendMode blend_mode) {
|
| switch (blend_mode) {
|
| @@ -101,7 +102,6 @@ inline blink::WebBlendMode BlendModeFromSkia(SkXfermode::Mode blend_mode) {
|
| return blink::WebBlendModeNormal;
|
| }
|
|
|
| -} // namespace content
|
| -
|
| -#endif // CONTENT_RENDERER_COMPOSITOR_BINDINGS_WEB_BLEND_MODE_H_
|
| +} // namespace cc_blink
|
|
|
| +#endif // CC_BLINK_WEB_BLEND_MODE_H_
|
|
|