Bug 835381 - Update libnestegg to 38c83d9d4c0c5c84373aa285bd30094a12d6b6f6. r=kinetik
[gecko.git] / gfx / thebes / gfxFailure.h
blobbe8d078243e6203c60267b6e8584711e790af7a7
1 /* vim: se cin sw=2 ts=2 et : */
2 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
4 * This Source Code Form is subject to the terms of the Mozilla Public
5 * License, v. 2.0. If a copy of the MPL was not distributed with this
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
8 #include "nsString.h"
9 #include "nsIGfxInfo.h"
10 #include "nsServiceManagerUtils.h"
12 namespace mozilla {
13 namespace gfx {
14 inline
15 void LogFailure(const nsCString &failure) {
16 nsCOMPtr<nsIGfxInfo> gfxInfo = do_GetService("@mozilla.org/gfx/info;1");
17 gfxInfo->LogFailure(failure);