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

Unified Diff: ui/gfx/native_pixmap_handle.cc

Issue 2361023003: Revert of Add ClientNativePixmap multi-planar support. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@client-native-pixmap-dmabug-multiple-planes
Patch Set: Created 4 years, 3 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/native_pixmap_handle.h ('k') | ui/ozone/gl/gl_image_ozone_native_pixmap_drm_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/native_pixmap_handle.cc
diff --git a/ui/gfx/native_pixmap_handle.cc b/ui/gfx/native_pixmap_handle.cc
index aedc9f94462763933cb84ace2fcfc34445dc7695..a3092b265a834176575d61bfa38cf138badbf960 100644
--- a/ui/gfx/native_pixmap_handle.cc
+++ b/ui/gfx/native_pixmap_handle.cc
@@ -1,21 +1,15 @@
// Copyright 2016 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 <stdint.h>
#include "ui/gfx/native_pixmap_handle.h"
namespace gfx {
-NativePixmapPlane::NativePixmapPlane()
- : stride(0), offset(0), size(0), modifier(0) {}
+NativePixmapPlane::NativePixmapPlane() : stride(0), offset(0), modifier(0) {}
-NativePixmapPlane::NativePixmapPlane(int stride,
- int offset,
- size_t size,
- uint64_t modifier)
- : stride(stride), offset(offset), size(size), modifier(modifier) {}
+NativePixmapPlane::NativePixmapPlane(int stride, int offset, uint64_t modifier)
+ : stride(stride), offset(offset), modifier(modifier) {}
NativePixmapPlane::NativePixmapPlane(const NativePixmapPlane& other) = default;
« no previous file with comments | « ui/gfx/native_pixmap_handle.h ('k') | ui/ozone/gl/gl_image_ozone_native_pixmap_drm_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698