| Index: third_party/WebKit/Source/core/html/canvas/OffScreenCanvas.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/canvas/OffScreenCanvas.cpp b/third_party/WebKit/Source/core/html/canvas/OffScreenCanvas.cpp
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..2d96d5f3af88d4a59d638ab95b2b6c63598b6006
|
| --- /dev/null
|
| +++ b/third_party/WebKit/Source/core/html/canvas/OffScreenCanvas.cpp
|
| @@ -0,0 +1,41 @@
|
| +// Copyright 2015 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 "config.h"
|
| +#include "core/html/canvas/OffScreenCanvas.h"
|
| +
|
| +#include "core/frame/ImageBitmap.h"
|
| +
|
| +namespace blink {
|
| +
|
| +OffScreenCanvas* OffScreenCanvas::create(unsigned long width, unsigned long height)
|
| +{
|
| + return nullptr;
|
| +}
|
| +
|
| +void OffScreenCanvas::setWidth(unsigned long width)
|
| +{
|
| + m_size.setWidth(width);
|
| +}
|
| +
|
| +void OffScreenCanvas::setHeight(unsigned long height)
|
| +{
|
| + m_size.setHeight(height);
|
| +}
|
| +
|
| +PassRefPtrWillBeRawPtr<ImageBitmap> OffScreenCanvas::transferToImageBitmap()
|
| +{
|
| + return nullptr;
|
| +}
|
| +
|
| +OffScreenCanvas::OffScreenCanvas(const IntSize& size)
|
| + : m_size(size)
|
| +{
|
| +}
|
| +
|
| +DEFINE_TRACE(OffScreenCanvas)
|
| +{
|
| +}
|
| +
|
| +} // namespace blink
|
|
|