| OLD | NEW |
| 1 /* | 1 /* |
| 2 * This file is part of Adblock Plus <https://adblockplus.org/>, | 2 * This file is part of Adblock Plus <https://adblockplus.org/>, |
| 3 * Copyright (C) 2006-2016 Eyeo GmbH | 3 * Copyright (C) 2006-2016 Eyeo GmbH |
| 4 * | 4 * |
| 5 * Adblock Plus is free software: you can redistribute it and/or modify | 5 * Adblock Plus is free software: you can redistribute it and/or modify |
| 6 * it under the terms of the GNU General Public License version 3 as | 6 * it under the terms of the GNU General Public License version 3 as |
| 7 * published by the Free Software Foundation. | 7 * published by the Free Software Foundation. |
| 8 * | 8 * |
| 9 * Adblock Plus is distributed in the hope that it will be useful, | 9 * Adblock Plus is distributed in the hope that it will be useful, |
| 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 if (SUCCEEDED(pEl->get_style(&pStyle)) && pStyle) | 139 if (SUCCEEDED(pEl->get_style(&pStyle)) && pStyle) |
| 140 { | 140 { |
| 141 CComBSTR bstrDisplay; | 141 CComBSTR bstrDisplay; |
| 142 if (SUCCEEDED(pStyle->get_display(&bstrDisplay)) && ToWstring(bstrDisplay) =
= L"none") | 142 if (SUCCEEDED(pStyle->get_display(&bstrDisplay)) && ToWstring(bstrDisplay) =
= L"none") |
| 143 { | 143 { |
| 144 return; | 144 return; |
| 145 } | 145 } |
| 146 static const CComBSTR sbstrNone(L"none"); | 146 static const CComBSTR sbstrNone(L"none"); |
| 147 if (SUCCEEDED(pStyle->put_display(sbstrNone))) | 147 if (SUCCEEDED(pStyle->put_display(sbstrNone))) |
| 148 { | 148 { |
| 149 DEBUG_HIDE_EL(ToWstring(indent) + L"HideEl::Hiding " + ToWstring(type) + L
" url:" + url) | 149 DEBUG_HIDE_EL(indent + L"HideEl::Hiding " + type + L" url:" + url) |
| 150 #ifdef ENABLE_DEBUG_RESULT | 150 #ifdef ENABLE_DEBUG_RESULT |
| 151 if (isDebug) | 151 if (isDebug) |
| 152 { | 152 { |
| 153 CPluginDebug::DebugResultHiding(type, url, L"-"); | 153 CPluginDebug::DebugResultHiding(type, url, L"-"); |
| 154 } | 154 } |
| 155 #endif // ENABLE_DEBUG_RESULT | 155 #endif // ENABLE_DEBUG_RESULT |
| 156 } | 156 } |
| 157 } | 157 } |
| 158 } | 158 } |
| OLD | NEW |