Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1186)

Unified Diff: ui/ozone/common/stub_client_native_pixmap_factory.cc

Issue 1389133002: content: Use type-parameterized tests for GpuMemoryBuffer implementations. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add blankline Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/gfx/buffer_format_util.cc ('k') | ui/ozone/platform/drm/common/client_native_pixmap_factory_gbm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/common/stub_client_native_pixmap_factory.cc
diff --git a/ui/ozone/common/stub_client_native_pixmap_factory.cc b/ui/ozone/common/stub_client_native_pixmap_factory.cc
index d076a0c54e857ef52c98873584cc7ee231efb144..112a7ff36f134f3fa1b3d85634449a9b9322cf99 100644
--- a/ui/ozone/common/stub_client_native_pixmap_factory.cc
+++ b/ui/ozone/common/stub_client_native_pixmap_factory.cc
@@ -15,8 +15,9 @@ class StubClientNativePixmapFactory : public ClientNativePixmapFactory {
// ClientNativePixmapFactory:
void Initialize(base::ScopedFD device_fd) override {}
- std::vector<Configuration> GetSupportedConfigurations() const override {
- return std::vector<Configuration>();
+ bool IsConfigurationSupported(gfx::BufferFormat format,
+ gfx::BufferUsage usage) const override {
+ return false;
}
scoped_ptr<ClientNativePixmap> ImportFromHandle(
const gfx::NativePixmapHandle& handle,
« no previous file with comments | « ui/gfx/buffer_format_util.cc ('k') | ui/ozone/platform/drm/common/client_native_pixmap_factory_gbm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698