| Index: webkit/compositor_bindings/web_nine_patch_layer_impl.cc
|
| diff --git a/webkit/compositor_bindings/web_nine_patch_layer_impl.cc b/webkit/compositor_bindings/web_nine_patch_layer_impl.cc
|
| deleted file mode 100644
|
| index 03c32fbcaa042cd066438ffb01d9ffe22b34c2fd..0000000000000000000000000000000000000000
|
| --- a/webkit/compositor_bindings/web_nine_patch_layer_impl.cc
|
| +++ /dev/null
|
| @@ -1,31 +0,0 @@
|
| -// Copyright 2012 The Chromium Authors. All rights reserved.
|
| -// Use of this source code is governed by a BSD-style license that can be
|
| -// found in the LICENSE file.
|
| -
|
| -#include "webkit/compositor_bindings/web_nine_patch_layer_impl.h"
|
| -
|
| -#include "cc/layers/nine_patch_layer.h"
|
| -#include "third_party/skia/include/core/SkBitmap.h"
|
| -#include "ui/gfx/rect.h"
|
| -#include "webkit/compositor_bindings/web_layer_impl.h"
|
| -
|
| -using cc::NinePatchLayer;
|
| -
|
| -namespace WebKit {
|
| -
|
| -WebNinePatchLayerImpl::WebNinePatchLayerImpl()
|
| - : layer_(new WebLayerImpl(NinePatchLayer::Create())) {
|
| - layer_->layer()->SetIsDrawable(true);
|
| -}
|
| -
|
| -WebNinePatchLayerImpl::~WebNinePatchLayerImpl() {}
|
| -
|
| -WebLayer* WebNinePatchLayerImpl::layer() { return layer_.get(); }
|
| -
|
| -void WebNinePatchLayerImpl::setBitmap(const SkBitmap& bitmap,
|
| - const WebRect& aperture) {
|
| - static_cast<NinePatchLayer*>(layer_->layer())->SetBitmap(bitmap,
|
| - gfx::Rect(aperture));
|
| -}
|
| -
|
| -} // namespace WebKit
|
|
|