| Index: Source/devtools/front_end/console/ConsoleViewMessage.js
|
| diff --git a/Source/devtools/front_end/console/ConsoleViewMessage.js b/Source/devtools/front_end/console/ConsoleViewMessage.js
|
| index 671d9e7947fbd0a89dc30672bdef64c9cd05fca4..cbcd97a9116e8db37c628f08f824eb19b917e24a 100644
|
| --- a/Source/devtools/front_end/console/ConsoleViewMessage.js
|
| +++ b/Source/devtools/front_end/console/ConsoleViewMessage.js
|
| @@ -385,7 +385,7 @@ WebInspector.ConsoleViewMessage.prototype = {
|
| _formatParameter: function(output, forceObjectFormat, includePreview)
|
| {
|
| if (output.customPreview()) {
|
| - return WebInspector.CustomPreviewSection.createInShadow(output);
|
| + return (new WebInspector.CustomPreviewComponent(output)).element;
|
| }
|
|
|
| var type = forceObjectFormat ? "object" : (output.subtype || output.type);
|
|
|