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

Side by Side Diff: content/common/gpu/client/gpu_in_process_context_tests.cc

Issue 1859703002: convert //gpu to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master Created 4 years, 8 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <stdio.h> 5 #include <stdio.h>
6
6 #include <cmath> 7 #include <cmath>
8 #include <memory>
7 #include <string> 9 #include <string>
8 #include <vector> 10 #include <vector>
9 11
10 #include "gpu/command_buffer/client/gl_in_process_context.h" 12 #include "gpu/command_buffer/client/gl_in_process_context.h"
11 #include "gpu/command_buffer/client/gles2_implementation.h" 13 #include "gpu/command_buffer/client/gles2_implementation.h"
12 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
13 #include "ui/gl/gl_surface.h" 15 #include "ui/gl/gl_surface.h"
14 16
15 namespace { 17 namespace {
16 18
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 53
52 private: 54 private:
53 std::unique_ptr<gpu::GLInProcessContext> context_; 55 std::unique_ptr<gpu::GLInProcessContext> context_;
54 }; 56 };
55 57
56 } // namespace 58 } // namespace
57 59
58 // Include the actual tests. 60 // Include the actual tests.
59 #define CONTEXT_TEST_F TEST_F 61 #define CONTEXT_TEST_F TEST_F
60 #include "content/common/gpu/client/gpu_context_tests.h" 62 #include "content/common/gpu/client/gpu_context_tests.h"
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698