Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / Source / platform / exported / WebTraceLocation.cpp
blobc61fef4a62e47a987355a60882a22b32779f87cc
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
3 // found in the LICENSE file.
5 #include "config.h"
6 #include "public/platform/WebTraceLocation.h"
8 namespace blink {
10 WebTraceLocation::WebTraceLocation()
11 : m_functionName("unknown")
12 , m_fileName("unknown")
13 { }
15 WebTraceLocation::WebTraceLocation(const char* functionName, const char* fileName)
16 : m_functionName(functionName)
17 , m_fileName(fileName)
18 { }
20 const char* WebTraceLocation::functionName() const
22 return m_functionName;
25 const char* WebTraceLocation::fileName() const
27 return m_fileName;
30 } // namespace blink