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

Side by Side Diff: Source/core/dom/DocumentTest.cpp

Issue 633573004: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/dom (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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 unified diff | Download patch
« no previous file with comments | « Source/core/dom/DocumentStyleSheetCollector.h ('k') | Source/core/dom/DocumentType.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2014, Google Inc. All rights reserved. 2 * Copyright (c) 2014, Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 26 matching lines...) Expand all
37 #include "platform/heap/Handle.h" 37 #include "platform/heap/Handle.h"
38 #include <gmock/gmock.h> 38 #include <gmock/gmock.h>
39 #include <gtest/gtest.h> 39 #include <gtest/gtest.h>
40 40
41 using namespace blink; 41 using namespace blink;
42 42
43 namespace { 43 namespace {
44 44
45 class DocumentTest : public ::testing::Test { 45 class DocumentTest : public ::testing::Test {
46 protected: 46 protected:
47 virtual void SetUp() OVERRIDE; 47 virtual void SetUp() override;
48 48
49 #if ENABLE(OILPAN) 49 #if ENABLE(OILPAN)
50 virtual void TearDown() OVERRIDE 50 virtual void TearDown() override
51 { 51 {
52 Heap::collectAllGarbage(); 52 Heap::collectAllGarbage();
53 } 53 }
54 #endif 54 #endif
55 55
56 Document& document() const { return m_dummyPageHolder->document(); } 56 Document& document() const { return m_dummyPageHolder->document(); }
57 Page& page() const { return m_dummyPageHolder->page(); } 57 Page& page() const { return m_dummyPageHolder->page(); }
58 58
59 private: 59 private:
60 OwnPtr<DummyPageHolder> m_dummyPageHolder; 60 OwnPtr<DummyPageHolder> m_dummyPageHolder;
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 EXPECT_EQ(link, document().linkManifest()); 206 EXPECT_EQ(link, document().linkManifest());
207 link->setAttribute(blink::HTMLNames::typeAttr, "image/gif"); 207 link->setAttribute(blink::HTMLNames::typeAttr, "image/gif");
208 EXPECT_EQ(link, document().linkManifest()); 208 EXPECT_EQ(link, document().linkManifest());
209 link->setAttribute(blink::HTMLNames::sizesAttr, "16x16"); 209 link->setAttribute(blink::HTMLNames::sizesAttr, "16x16");
210 EXPECT_EQ(link, document().linkManifest()); 210 EXPECT_EQ(link, document().linkManifest());
211 link->setAttribute(blink::HTMLNames::mediaAttr, "print"); 211 link->setAttribute(blink::HTMLNames::mediaAttr, "print");
212 EXPECT_EQ(link, document().linkManifest()); 212 EXPECT_EQ(link, document().linkManifest());
213 } 213 }
214 214
215 } // unnamed namespace 215 } // unnamed namespace
OLDNEW
« no previous file with comments | « Source/core/dom/DocumentStyleSheetCollector.h ('k') | Source/core/dom/DocumentType.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698