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

Side by Side Diff: third_party/WebKit/Source/core/dom/CrossThreadTaskTest.cpp

Issue 1627713002: Add more missing closing namespace comments. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase, address comment (also filed llvm.org/PR26290) Created 4 years, 11 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "core/dom/CrossThreadTask.h" 5 #include "core/dom/CrossThreadTask.h"
6 6
7 #include "platform/heap/Handle.h" 7 #include "platform/heap/Handle.h"
8 #include "testing/gtest/include/gtest/gtest.h" 8 #include "testing/gtest/include/gtest/gtest.h"
9 9
10 namespace blink { 10 namespace blink {
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 } 58 }
59 59
60 TEST_F(CrossThreadTaskTest, CreateForFunctionWithExecutionContext) 60 TEST_F(CrossThreadTaskTest, CreateForFunctionWithExecutionContext)
61 { 61 {
62 OwnPtr<ExecutionContextTask> task1 = createCrossThreadTask(&functionWithExec utionContext, new GCObject); 62 OwnPtr<ExecutionContextTask> task1 = createCrossThreadTask(&functionWithExec utionContext, new GCObject);
63 OwnPtr<ExecutionContextTask> task2 = createCrossThreadTask(&functionWithExec utionContext, RawPtr<GCObject>(new GCObject)); 63 OwnPtr<ExecutionContextTask> task2 = createCrossThreadTask(&functionWithExec utionContext, RawPtr<GCObject>(new GCObject));
64 Heap::collectGarbage(BlinkGC::NoHeapPointersOnStack, BlinkGC::GCWithSweep, B linkGC::ForcedGC); 64 Heap::collectGarbage(BlinkGC::NoHeapPointersOnStack, BlinkGC::GCWithSweep, B linkGC::ForcedGC);
65 EXPECT_EQ(2, GCObject::s_counter); 65 EXPECT_EQ(2, GCObject::s_counter);
66 } 66 }
67 67
68 } 68 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698