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

Side by Side Diff: content/browser/compositor/image_transport_factory_browsertest.cc

Issue 1549113002: Switch to standard integer types in content/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 12 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "content/browser/compositor/image_transport_factory.h" 5 #include "content/browser/compositor/image_transport_factory.h"
6 6
7 #include "base/run_loop.h" 7 #include "base/run_loop.h"
8 #include "build/build_config.h"
8 #include "cc/output/context_provider.h" 9 #include "cc/output/context_provider.h"
9 #include "content/browser/compositor/owned_mailbox.h" 10 #include "content/browser/compositor/owned_mailbox.h"
10 #include "content/public/browser/gpu_data_manager.h" 11 #include "content/public/browser/gpu_data_manager.h"
11 #include "content/public/test/content_browser_test.h" 12 #include "content/public/test/content_browser_test.h"
12 #include "gpu/GLES2/gl2extchromium.h" 13 #include "gpu/GLES2/gl2extchromium.h"
13 #include "gpu/command_buffer/client/gles2_interface.h" 14 #include "gpu/command_buffer/client/gles2_interface.h"
14 #include "testing/gmock/include/gmock/gmock.h" 15 #include "testing/gmock/include/gmock/gmock.h"
15 #include "ui/compositor/compositor.h" 16 #include "ui/compositor/compositor.h"
16 17
17 namespace content { 18 namespace content {
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 return; 102 return;
102 ImageTransportFactory* factory = ImageTransportFactory::GetInstance(); 103 ImageTransportFactory* factory = ImageTransportFactory::GetInstance();
103 GLHelper* helper = factory->GetGLHelper(); 104 GLHelper* helper = factory->GetGLHelper();
104 ASSERT_TRUE(helper); 105 ASSERT_TRUE(helper);
105 mailbox_ = new OwnedMailbox(helper); 106 mailbox_ = new OwnedMailbox(helper);
106 EXPECT_FALSE(mailbox_->mailbox().IsZero()); 107 EXPECT_FALSE(mailbox_->mailbox().IsZero());
107 } 108 }
108 109
109 } // anonymous namespace 110 } // anonymous namespace
110 } // namespace content 111 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698