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

Side by Side Diff: Source/core/page/PageConsole.cpp

Issue 41423002: Devirtualize PageConsole and MHTMLArchive destructors (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 1 month 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/page/PageConsole.h ('k') | no next file » | 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) 2013 Apple Inc. All rights reserved. 2 * Copyright (C) 2013 Apple 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 48
49 int muteCount = 0; 49 int muteCount = 0;
50 50
51 } 51 }
52 52
53 PageConsole::PageConsole(Page* page) 53 PageConsole::PageConsole(Page* page)
54 : m_page(page) 54 : m_page(page)
55 { 55 {
56 } 56 }
57 57
58 PageConsole::~PageConsole() { }
59
60 void PageConsole::addMessage(MessageSource source, MessageLevel level, const Str ing& message) 58 void PageConsole::addMessage(MessageSource source, MessageLevel level, const Str ing& message)
61 { 59 {
62 addMessage(source, level, message, String(), 0, 0, 0, 0, 0); 60 addMessage(source, level, message, String(), 0, 0, 0, 0, 0);
63 } 61 }
64 62
65 void PageConsole::addMessage(MessageSource source, MessageLevel level, const Str ing& message, PassRefPtr<ScriptCallStack> callStack) 63 void PageConsole::addMessage(MessageSource source, MessageLevel level, const Str ing& message, PassRefPtr<ScriptCallStack> callStack)
66 { 64 {
67 addMessage(source, level, message, String(), 0, 0, callStack, 0); 65 addMessage(source, level, message, String(), 0, 0, callStack, 0);
68 } 66 }
69 67
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 muteCount++; 116 muteCount++;
119 } 117 }
120 118
121 void PageConsole::unmute() 119 void PageConsole::unmute()
122 { 120 {
123 ASSERT(muteCount > 0); 121 ASSERT(muteCount > 0);
124 muteCount--; 122 muteCount--;
125 } 123 }
126 124
127 } // namespace WebCore 125 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/page/PageConsole.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698