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

Side by Side Diff: third_party/WebKit/Source/core/xml/XSLTProcessorLibxslt.cpp

Issue 2646033003: DevTools: streamline console logging levels, migrate 'log' to 'info' level, 'debug' to 'verbose' le… (Closed)
Patch Set: missing rebaseline Created 3 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 /* 1 /*
2 * This file is part of the XSL implementation. 2 * This file is part of the XSL implementation.
3 * 3 *
4 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple, Inc. All rights reserved. 4 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple, Inc. All rights reserved.
5 * Copyright (C) 2005, 2006 Alexey Proskuryakov <ap@webkit.org> 5 * Copyright (C) 2005, 2006 Alexey Proskuryakov <ap@webkit.org>
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 } 60 }
61 61
62 void XSLTProcessor::parseErrorFunc(void* userData, xmlError* error) { 62 void XSLTProcessor::parseErrorFunc(void* userData, xmlError* error) {
63 FrameConsole* console = static_cast<FrameConsole*>(userData); 63 FrameConsole* console = static_cast<FrameConsole*>(userData);
64 if (!console) 64 if (!console)
65 return; 65 return;
66 66
67 MessageLevel level; 67 MessageLevel level;
68 switch (error->level) { 68 switch (error->level) {
69 case XML_ERR_NONE: 69 case XML_ERR_NONE:
70 level = DebugMessageLevel; 70 level = VerboseMessageLevel;
71 break; 71 break;
72 case XML_ERR_WARNING: 72 case XML_ERR_WARNING:
73 level = WarningMessageLevel; 73 level = WarningMessageLevel;
74 break; 74 break;
75 case XML_ERR_ERROR: 75 case XML_ERR_ERROR:
76 case XML_ERR_FATAL: 76 case XML_ERR_FATAL:
77 default: 77 default:
78 level = ErrorMessageLevel; 78 level = ErrorMessageLevel;
79 break; 79 break;
80 } 80 }
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
387 387
388 sheet->method = origMethod; 388 sheet->method = origMethod;
389 setXSLTLoadCallBack(0, 0, 0); 389 setXSLTLoadCallBack(0, 0, 0);
390 xsltFreeStylesheet(sheet); 390 xsltFreeStylesheet(sheet);
391 m_stylesheet = nullptr; 391 m_stylesheet = nullptr;
392 392
393 return success; 393 return success;
394 } 394 }
395 395
396 } // namespace blink 396 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/loader/LinkLoader.cpp ('k') | third_party/WebKit/Source/devtools/front_end/common/Console.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698