diff --git a/src/plugins/qmlprofiler/qml/TimeMarks.qml b/src/plugins/qmlprofiler/qml/TimeMarks.qml
index 6d48cbb0146d679fffd84a535fcc692de0f05a24..433d35578ff75acfbc14fe3c0c3e1d1e8c341ee8 100644
--- a/src/plugins/qmlprofiler/qml/TimeMarks.qml
+++ b/src/plugins/qmlprofiler/qml/TimeMarks.qml
@@ -82,22 +82,6 @@ Canvas2D {
                 ctxt.stroke();
             }
         }
-
-
-        // gray off out-of-bounds areas
-        var rectWidth;
-        if (startTime < qmlProfilerModelProxy.traceStartTime()) {
-            ctxt.fillStyle = "rgba(127,127,127,0.2)";
-            rectWidth = (qmlProfilerModelProxy.traceStartTime() - startTime) * spacing;
-            ctxt.fillRect(0, lineStart, rectWidth, lineEnd);
-        }
-        if (endTime > qmlProfilerModelProxy.traceEndTime()) {
-            ctxt.fillStyle = "rgba(127,127,127,0.2)";
-            var rectX = (qmlProfilerModelProxy.traceEndTime() - startTime) * spacing;
-            rectWidth = (endTime - qmlProfilerModelProxy.traceEndTime()) * spacing;
-            ctxt.fillRect(rectX, lineStart, rectWidth, lineEnd);
-        }
-
     }
 
     function updateMarks(start, end) {