diff options
Diffstat (limited to 'cc/SolidColorLayerChromium.cpp')
-rw-r--r-- | cc/SolidColorLayerChromium.cpp | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/cc/SolidColorLayerChromium.cpp b/cc/SolidColorLayerChromium.cpp new file mode 100644 index 0000000..b3652ba --- /dev/null +++ b/cc/SolidColorLayerChromium.cpp @@ -0,0 +1,36 @@ +// 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 "config.h" + +#if USE(ACCELERATED_COMPOSITING) + +#include "SolidColorLayerChromium.h" + +#include "CCSolidColorLayerImpl.h" + +namespace WebCore { + +PassOwnPtr<CCLayerImpl> SolidColorLayerChromium::createCCLayerImpl() +{ + return CCSolidColorLayerImpl::create(id()); +} + +PassRefPtr<SolidColorLayerChromium> SolidColorLayerChromium::create() +{ + return adoptRef(new SolidColorLayerChromium()); +} + +SolidColorLayerChromium::SolidColorLayerChromium() + : LayerChromium() +{ +} + +SolidColorLayerChromium::~SolidColorLayerChromium() +{ +} + +} // namespace WebCore + +#endif // USE(ACCELERATED_COMPOSITING) |