Changeset 35011 in vbox
- Timestamp:
- Dec 13, 2010 1:51:42 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/SnapshotImpl.cpp
r34587 r35011 2615 2615 { 2616 2616 AutoReadLock mlock(it->mpSource COMMA_LOCKVAL_SRC_POS); 2617 const ComObjPtr<MediumFormat> &sourceFormat = it->mpSource->getMediumFormat(); 2618 // No medium format description? get out of here. 2619 if (sourceFormat.isNull()) 2620 throw rc; 2621 // Diff medium not backed by a file - cannot get status so 2622 // be pessimistic. 2623 if (!(sourceFormat->getCapabilities() & MediumFormatCapabilities_File)) 2617 if (!it->mpSource->isMediumFormatFile()) 2618 // Diff medium not backed by a file - cannot get status so 2619 // be pessimistic. 2624 2620 throw rc; 2625 2621 const Utf8Str &loc = it->mpSource->getLocationFull();
Note:
See TracChangeset
for help on using the changeset viewer.